pub struct InterruptMainTurnRequest {
pub flush_queued: Option<bool>,
}Expand description
Parameters for interrupting the main agent turn.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§flush_queued: Option<bool>When true, the user’s queued prompts are preserved and run as the next turn once the interrupted turn unwinds; when false (the default), the queue is cleared like a plain abort.
Trait Implementations§
Source§impl Clone for InterruptMainTurnRequest
impl Clone for InterruptMainTurnRequest
Source§fn clone(&self) -> InterruptMainTurnRequest
fn clone(&self) -> InterruptMainTurnRequest
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 InterruptMainTurnRequest
impl Debug for InterruptMainTurnRequest
Source§impl Default for InterruptMainTurnRequest
impl Default for InterruptMainTurnRequest
Source§fn default() -> InterruptMainTurnRequest
fn default() -> InterruptMainTurnRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InterruptMainTurnRequest
impl<'de> Deserialize<'de> for InterruptMainTurnRequest
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 InterruptMainTurnRequest
impl RefUnwindSafe for InterruptMainTurnRequest
impl Send for InterruptMainTurnRequest
impl Sync for InterruptMainTurnRequest
impl Unpin for InterruptMainTurnRequest
impl UnsafeUnpin for InterruptMainTurnRequest
impl UnwindSafe for InterruptMainTurnRequest
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