pub struct WorkNode {Show 19 fields
pub node_id: String,
pub agent_id: String,
pub parent_node_id: Option<String>,
pub capsule_ref: String,
pub status: NodeStatus,
pub budget: WorkNodeBudget,
pub depth: u16,
pub stop_reason: Option<StopReason>,
pub outcome_ref: Option<String>,
pub claim_attempt: u32,
pub delivery_attempt: Option<u8>,
pub execution_fence: Option<String>,
pub lease_expires_epoch_ms: Option<u64>,
pub path_claims: Vec<String>,
pub task_ref: String,
pub parent_task_ref: Option<String>,
pub policy_ref: String,
pub expected_outcome_ref: String,
pub execution_started: bool,
}Fields§
§node_id: String§agent_id: String§parent_node_id: Option<String>§capsule_ref: String§status: NodeStatus§budget: WorkNodeBudget§depth: u16§stop_reason: Option<StopReason>§outcome_ref: Option<String>§claim_attempt: u32§delivery_attempt: Option<u8>Current connector attempt within this execution fence, persisted before launch.
execution_fence: Option<String>§lease_expires_epoch_ms: Option<u64>§path_claims: Vec<String>§task_ref: String§parent_task_ref: Option<String>§policy_ref: String§expected_outcome_ref: String§execution_started: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for WorkNode
impl<'de> Deserialize<'de> for WorkNode
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 Eq for WorkNode
impl StructuralPartialEq for WorkNode
Auto Trait Implementations§
impl Forget for WorkNode
impl Freeze for WorkNode
impl Move for WorkNode
impl RefUnwindSafe for WorkNode
impl Send for WorkNodewhere
RawVecInner: Send,
impl Sync for WorkNodewhere
RawVecInner: Sync,
impl Unpin for WorkNode
impl UnsafeUnpin for WorkNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for WorkNodewhere
RawVecInner: UnwindSafe,
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