pub struct AssistantIdleData {
pub aborted: Option<bool>,
}Expand description
Session event “assistant.idle”. Payload emitted whenever the main agent’s processing loop goes idle, including while related background work (running agents or in-flight attached shell commands) is still pending and the session-level idle event is therefore deferred
Fields§
§aborted: Option<bool>True when the preceding agentic loop was cancelled via abort signal
Trait Implementations§
Source§impl Clone for AssistantIdleData
impl Clone for AssistantIdleData
Source§fn clone(&self) -> AssistantIdleData
fn clone(&self) -> AssistantIdleData
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 AssistantIdleData
impl Debug for AssistantIdleData
Source§impl Default for AssistantIdleData
impl Default for AssistantIdleData
Source§fn default() -> AssistantIdleData
fn default() -> AssistantIdleData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssistantIdleData
impl<'de> Deserialize<'de> for AssistantIdleData
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 AssistantIdleData
impl RefUnwindSafe for AssistantIdleData
impl Send for AssistantIdleData
impl Sync for AssistantIdleData
impl Unpin for AssistantIdleData
impl UnsafeUnpin for AssistantIdleData
impl UnwindSafe for AssistantIdleData
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