Struct Priority Intent
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct PriorityIntent {
pub latency_sensitivity: f64,
pub workflow_phase: Option<String>,
pub caller_tier: Option<String>,
}
Latency and priority routing intent.
Communicates the caller’s latency sensitivity and workflow context to influence scheduling and model selection.
Fields
latency_sensitivity: f64
Latency sensitivity score [0.0, 1.0] where 1.0 is most sensitive.
workflow_phase: Option<String>
Current workflow phase label (e.g., “research”, “synthesis”).
caller_tier: Option<String>
Caller tier label (e.g., “free”, “premium”, “enterprise”).
Trait Implementations
impl Clone for PriorityIntent
impl Clone for PriorityIntent
clone
fn clone(&self) -> PriorityIntent
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for PriorityIntent
impl Debug for PriorityIntent
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for PriorityIntent
impl<'de> Deserialize<'de> for PriorityIntent
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for PriorityIntent
impl PartialEq for PriorityIntent
eq
fn eq(&self, other: &PriorityIntent) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for PriorityIntent
impl Serialize for PriorityIntent
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for PriorityIntent
impl StructuralPartialEq for PriorityIntent