#[non_exhaustive]pub struct TurnInterruptResult {
pub command_id: String,
pub status: CommandStatus,
pub turn_id: String,
}Expand description
turn/interrupt result. Acceptance means the interrupt was admitted,
not that the turn is already stopped: the turn is over when you fold its
turn/completed with terminal cancelled.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command_id: StringEchoes the client’s id.
status: CommandStatusAdmission status.
turn_id: StringThe interrupted turn.
Trait Implementations§
Source§impl Clone for TurnInterruptResult
impl Clone for TurnInterruptResult
Source§impl Debug for TurnInterruptResult
impl Debug for TurnInterruptResult
Source§impl<'de> Deserialize<'de> for TurnInterruptResult
impl<'de> Deserialize<'de> for TurnInterruptResult
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
impl Eq for TurnInterruptResult
Source§impl PartialEq for TurnInterruptResult
impl PartialEq for TurnInterruptResult
Source§impl Serialize for TurnInterruptResult
impl Serialize for TurnInterruptResult
impl StructuralPartialEq for TurnInterruptResult
Auto Trait Implementations§
impl Freeze for TurnInterruptResult
impl RefUnwindSafe for TurnInterruptResult
impl Send for TurnInterruptResult
impl Sync for TurnInterruptResult
impl Unpin for TurnInterruptResult
impl UnsafeUnpin for TurnInterruptResult
impl UnwindSafe for TurnInterruptResult
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