pub struct TurnUpdatePayload {
pub turn_id: String,
pub speaker: AgentId,
pub intent: Option<MessageIntent>,
pub topic: Option<String>,
pub expires_at: Option<i64>,
pub reason: Option<String>,
}Fields§
§turn_id: String§speaker: AgentId§intent: Option<MessageIntent>§topic: Option<String>§expires_at: Option<i64>§reason: Option<String>Trait Implementations§
Source§impl Clone for TurnUpdatePayload
impl Clone for TurnUpdatePayload
Source§fn clone(&self) -> TurnUpdatePayload
fn clone(&self) -> TurnUpdatePayload
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 TurnUpdatePayload
impl Debug for TurnUpdatePayload
Source§impl<'de> Deserialize<'de> for TurnUpdatePayload
impl<'de> Deserialize<'de> for TurnUpdatePayload
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
Source§impl PartialEq for TurnUpdatePayload
impl PartialEq for TurnUpdatePayload
Source§fn eq(&self, other: &TurnUpdatePayload) -> bool
fn eq(&self, other: &TurnUpdatePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TurnUpdatePayload
impl Serialize for TurnUpdatePayload
impl StructuralPartialEq for TurnUpdatePayload
Auto Trait Implementations§
impl Freeze for TurnUpdatePayload
impl RefUnwindSafe for TurnUpdatePayload
impl Send for TurnUpdatePayload
impl Sync for TurnUpdatePayload
impl Unpin for TurnUpdatePayload
impl UnsafeUnpin for TurnUpdatePayload
impl UnwindSafe for TurnUpdatePayload
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