#[non_exhaustive]pub struct TurnStartResult {
pub command_id: String,
pub status: CommandStatus,
pub turn_id: String,
pub started_new_turn: bool,
pub disposition: TurnStartDisposition,
}Expand description
turn/start result.
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 turn that will carry (or absorbed) this input. Authoritative: always take it from the ack rather than deriving it.
started_new_turn: booltrue iff disposition is started; retained as the boolean shorthand
— disposition is authoritative.
disposition: TurnStartDispositionWhat happened to the input.
Trait Implementations§
Source§impl Clone for TurnStartResult
impl Clone for TurnStartResult
Source§impl Debug for TurnStartResult
impl Debug for TurnStartResult
Source§impl<'de> Deserialize<'de> for TurnStartResult
impl<'de> Deserialize<'de> for TurnStartResult
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 TurnStartResult
Source§impl PartialEq for TurnStartResult
impl PartialEq for TurnStartResult
Source§impl Serialize for TurnStartResult
impl Serialize for TurnStartResult
impl StructuralPartialEq for TurnStartResult
Auto Trait Implementations§
impl Freeze for TurnStartResult
impl RefUnwindSafe for TurnStartResult
impl Send for TurnStartResult
impl Sync for TurnStartResult
impl Unpin for TurnStartResult
impl UnsafeUnpin for TurnStartResult
impl UnwindSafe for TurnStartResult
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