pub struct SessionQueueWithdrawMessageResult {
pub interrupted: bool,
pub removed: bool,
}Expand description
Result of withdrawing a user message.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§interrupted: boolTrue when the running turn was interrupted to withdraw the message. With removed false, the turn was interrupted but its events could not be removed, for example because the model answered first, so the message stays in the interrupted turn.
removed: boolTrue when the message left the queue or, for a running turn, history.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionQueueWithdrawMessageResult
impl<'de> Deserialize<'de> for SessionQueueWithdrawMessageResult
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 SessionQueueWithdrawMessageResult
impl RefUnwindSafe for SessionQueueWithdrawMessageResult
impl Send for SessionQueueWithdrawMessageResult
impl Sync for SessionQueueWithdrawMessageResult
impl Unpin for SessionQueueWithdrawMessageResult
impl UnsafeUnpin for SessionQueueWithdrawMessageResult
impl UnwindSafe for SessionQueueWithdrawMessageResult
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