pub struct Deviation {
pub description: String,
pub reason: String,
pub impact: DeviationImpact,
pub follow_up: Option<IntentId>,
}Expand description
A record of where and why the agent diverged from the plan.
Fields§
§description: StringWhat was different from the plan.
reason: StringWhy the deviation occurred.
impact: DeviationImpactSeverity of the deviation.
follow_up: Option<IntentId>Optional follow-up intent created to address this deviation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Deviation
impl<'de> Deserialize<'de> for Deviation
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
impl StructuralPartialEq for Deviation
Auto Trait Implementations§
impl Freeze for Deviation
impl RefUnwindSafe for Deviation
impl Send for Deviation
impl Sync for Deviation
impl Unpin for Deviation
impl UnsafeUnpin for Deviation
impl UnwindSafe for Deviation
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