Struct Optimization Intent Bundle
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct OptimizationIntentBundle {
pub request_id: Uuid,
pub agent_identity: AgentIdentity,
pub policy_version: String,
pub intents: Vec<OptimizationIntent>,
pub created_at: DateTime<Utc>,
}
A bundle of optimization intents for a single request.
Bundles are the primary data contract between behavioral models (which emit intents) and the translation layer (which converts intents into provider-specific actions).
Fields
request_id: Uuid
Unique identifier for this request.
agent_identity: AgentIdentity
Identity of the agent that generated this bundle.
policy_version: String
Version of the policy that produced these intents.
intents: Vec<OptimizationIntent>
Ordered list of optimization intents.
created_at: DateTime<Utc>
When the bundle was created.
Trait Implementations
impl Clone for OptimizationIntentBundle
impl Clone for OptimizationIntentBundle
clone
fn clone(&self) -> OptimizationIntentBundle
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for OptimizationIntentBundle
impl Debug for OptimizationIntentBundle
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for OptimizationIntentBundle
impl<'de> Deserialize<'de> for OptimizationIntentBundle
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for OptimizationIntentBundle
impl PartialEq for OptimizationIntentBundle
eq
fn eq(&self, other: &OptimizationIntentBundle) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for OptimizationIntentBundle
impl Serialize for OptimizationIntentBundle
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for OptimizationIntentBundle
impl StructuralPartialEq for OptimizationIntentBundle