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