pub enum SubagentTerminalStatus {
Completed,
Failed,
Cancelled,
Detached,
}Expand description
Enumerates the finite subagent terminal status cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Completed
Use this variant when the contract needs to represent completed; selecting it has no side effect by itself.
Failed
Use this variant when the contract needs to represent failed; selecting it has no side effect by itself.
Cancelled
Use this variant when the contract needs to represent cancelled; selecting it has no side effect by itself.
Detached
Use this variant when the contract needs to represent detached; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for SubagentTerminalStatus
impl Clone for SubagentTerminalStatus
Source§fn clone(&self) -> SubagentTerminalStatus
fn clone(&self) -> SubagentTerminalStatus
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 SubagentTerminalStatus
impl Debug for SubagentTerminalStatus
Source§impl<'de> Deserialize<'de> for SubagentTerminalStatus
impl<'de> Deserialize<'de> for SubagentTerminalStatus
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 SubagentTerminalStatus
impl PartialEq for SubagentTerminalStatus
Source§fn eq(&self, other: &SubagentTerminalStatus) -> bool
fn eq(&self, other: &SubagentTerminalStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SubagentTerminalStatus
impl Serialize for SubagentTerminalStatus
impl Eq for SubagentTerminalStatus
impl StructuralPartialEq for SubagentTerminalStatus
Auto Trait Implementations§
impl Freeze for SubagentTerminalStatus
impl RefUnwindSafe for SubagentTerminalStatus
impl Send for SubagentTerminalStatus
impl Sync for SubagentTerminalStatus
impl Unpin for SubagentTerminalStatus
impl UnsafeUnpin for SubagentTerminalStatus
impl UnwindSafe for SubagentTerminalStatus
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