pub struct QueueWithdrawMessageResult {
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 Clone for QueueWithdrawMessageResult
impl Clone for QueueWithdrawMessageResult
Source§impl Debug for QueueWithdrawMessageResult
impl Debug for QueueWithdrawMessageResult
Source§impl Default for QueueWithdrawMessageResult
impl Default for QueueWithdrawMessageResult
Source§impl<'de> Deserialize<'de> for QueueWithdrawMessageResult
impl<'de> Deserialize<'de> for QueueWithdrawMessageResult
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 QueueWithdrawMessageResult
impl RefUnwindSafe for QueueWithdrawMessageResult
impl Send for QueueWithdrawMessageResult
impl Sync for QueueWithdrawMessageResult
impl Unpin for QueueWithdrawMessageResult
impl UnsafeUnpin for QueueWithdrawMessageResult
impl UnwindSafe for QueueWithdrawMessageResult
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