pub struct CommandLifecycleMessage {
pub command_uuid: String,
pub state: CommandLifecycleState,
pub uuid: String,
pub session_id: String,
}Expand description
command_lifecycle message — the fate of a queued command (slash command
or queued user prompt): queued when the inbound message enters the
command queue, started when it drains into a turn, then exactly one
terminal state (completed, cancelled, or discarded). Commands
enqueued without a client-supplied uuid emit no lifecycle events. Not a
strict pairing — a terminal state may arrive for a command_uuid that
never emitted started, and internally-enqueued commands skip queued.
Fields§
§command_uuid: StringThe queued command’s uuid — the client-supplied uuid on the inbound
message (distinct from the universal per-frame uuid).
state: CommandLifecycleState§uuid: String§session_id: StringTrait Implementations§
Source§impl Clone for CommandLifecycleMessage
impl Clone for CommandLifecycleMessage
Source§fn clone(&self) -> CommandLifecycleMessage
fn clone(&self) -> CommandLifecycleMessage
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 CommandLifecycleMessage
impl Debug for CommandLifecycleMessage
Source§impl<'de> Deserialize<'de> for CommandLifecycleMessage
impl<'de> Deserialize<'de> for CommandLifecycleMessage
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
Auto Trait Implementations§
impl Freeze for CommandLifecycleMessage
impl RefUnwindSafe for CommandLifecycleMessage
impl Send for CommandLifecycleMessage
impl Sync for CommandLifecycleMessage
impl Unpin for CommandLifecycleMessage
impl UnsafeUnpin for CommandLifecycleMessage
impl UnwindSafe for CommandLifecycleMessage
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