pub struct IntentLifecycle {
pub status: IntentStatus,
pub assigned_to: Vec<AgentId>,
pub resolution: Option<Resolution>,
pub notification: Option<NotificationPolicy>,
}Expand description
Tracks the full arc from proposal through resolution and notification.
Fields§
§status: IntentStatusCurrent status.
assigned_to: Vec<AgentId>Agent(s) working on this intent.
resolution: Option<Resolution>Filed when the intent reaches a terminal state.
notification: Option<NotificationPolicy>Who should be notified and how.
Trait Implementations§
Source§impl Clone for IntentLifecycle
impl Clone for IntentLifecycle
Source§impl Debug for IntentLifecycle
impl Debug for IntentLifecycle
Source§impl<'de> Deserialize<'de> for IntentLifecycle
impl<'de> Deserialize<'de> for IntentLifecycle
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 IntentLifecycle
impl PartialEq for IntentLifecycle
Source§impl Serialize for IntentLifecycle
impl Serialize for IntentLifecycle
impl StructuralPartialEq for IntentLifecycle
Auto Trait Implementations§
impl Freeze for IntentLifecycle
impl RefUnwindSafe for IntentLifecycle
impl Send for IntentLifecycle
impl Sync for IntentLifecycle
impl Unpin for IntentLifecycle
impl UnsafeUnpin for IntentLifecycle
impl UnwindSafe for IntentLifecycle
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