pub struct OptimizationIntentBundle {
pub request_id: Uuid,
pub agent_identity: AgentIdentity,
pub policy_version: String,
pub intents: Vec<OptimizationIntent>,
pub created_at: DateTime<Utc>,
}Expand description
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: UuidUnique identifier for this request.
agent_identity: AgentIdentityIdentity of the agent that generated this bundle.
policy_version: StringVersion 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§
Source§impl Clone for OptimizationIntentBundle
impl Clone for OptimizationIntentBundle
Source§fn clone(&self) -> OptimizationIntentBundle
fn clone(&self) -> OptimizationIntentBundle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OptimizationIntentBundle
impl Debug for OptimizationIntentBundle
Source§impl<'de> Deserialize<'de> for OptimizationIntentBundle
impl<'de> Deserialize<'de> for OptimizationIntentBundle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OptimizationIntentBundle
impl PartialEq for OptimizationIntentBundle
Source§fn eq(&self, other: &OptimizationIntentBundle) -> bool
fn eq(&self, other: &OptimizationIntentBundle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OptimizationIntentBundle
impl Serialize for OptimizationIntentBundle
impl StructuralPartialEq for OptimizationIntentBundle
Auto Trait Implementations§
impl Freeze for OptimizationIntentBundle
impl RefUnwindSafe for OptimizationIntentBundle
impl Send for OptimizationIntentBundle
impl Sync for OptimizationIntentBundle
impl Unpin for OptimizationIntentBundle
impl UnsafeUnpin for OptimizationIntentBundle
impl UnwindSafe for OptimizationIntentBundle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more