pub struct SubagentOwnerReasonParams {
pub session_id: String,
pub command_id: String,
pub subagent_id: String,
pub reason: Option<String>,
}Expand description
Params for subagent/interrupt, subagent/stop, and subagent/close: a
child target plus an optional human-readable reason that is preserved on the
durable effect record.
Fields§
§session_id: StringTarget session.
command_id: StringClient-minted UUIDv7 command id.
subagent_id: StringDurable child id.
reason: Option<String>Optional reason, preserved on the durable owner-command record.
Trait Implementations§
Source§impl Clone for SubagentOwnerReasonParams
impl Clone for SubagentOwnerReasonParams
Source§impl Debug for SubagentOwnerReasonParams
impl Debug for SubagentOwnerReasonParams
Source§impl<'de> Deserialize<'de> for SubagentOwnerReasonParams
impl<'de> Deserialize<'de> for SubagentOwnerReasonParams
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 SubagentOwnerReasonParams
impl StructuralPartialEq for SubagentOwnerReasonParams
Auto Trait Implementations§
impl Freeze for SubagentOwnerReasonParams
impl RefUnwindSafe for SubagentOwnerReasonParams
impl Send for SubagentOwnerReasonParams
impl Sync for SubagentOwnerReasonParams
impl Unpin for SubagentOwnerReasonParams
impl UnsafeUnpin for SubagentOwnerReasonParams
impl UnwindSafe for SubagentOwnerReasonParams
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