pub struct SessionMessageSystem {
pub id: String,
pub metadata: Option<Map<String, Value>>,
pub text: String,
pub time: SessionMessageUserTime,
pub type_: String,
}Fields§
§id: String§metadata: Option<Map<String, Value>>§text: String§time: SessionMessageUserTime§type_: StringTrait Implementations§
Source§impl Clone for SessionMessageSystem
impl Clone for SessionMessageSystem
Source§fn clone(&self) -> SessionMessageSystem
fn clone(&self) -> SessionMessageSystem
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 SessionMessageSystem
impl Debug for SessionMessageSystem
Source§impl<'de> Deserialize<'de> for SessionMessageSystem
impl<'de> Deserialize<'de> for SessionMessageSystem
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 SessionMessageSystem
impl PartialEq for SessionMessageSystem
Source§impl Serialize for SessionMessageSystem
impl Serialize for SessionMessageSystem
impl StructuralPartialEq for SessionMessageSystem
Auto Trait Implementations§
impl Freeze for SessionMessageSystem
impl RefUnwindSafe for SessionMessageSystem
impl Send for SessionMessageSystem
impl Sync for SessionMessageSystem
impl Unpin for SessionMessageSystem
impl UnsafeUnpin for SessionMessageSystem
impl UnwindSafe for SessionMessageSystem
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