pub struct TextContentV1 {
pub text: String,
}Expand description
Text message content (content_type = 1)
Fields§
§text: StringImplementations§
Trait Implementations§
Source§impl Clone for TextContentV1
impl Clone for TextContentV1
Source§fn clone(&self) -> TextContentV1
fn clone(&self) -> TextContentV1
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 TextContentV1
impl Debug for TextContentV1
Source§impl<'de> Deserialize<'de> for TextContentV1
impl<'de> Deserialize<'de> for TextContentV1
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 TextContentV1
impl PartialEq for TextContentV1
Source§fn eq(&self, other: &TextContentV1) -> bool
fn eq(&self, other: &TextContentV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextContentV1
impl Serialize for TextContentV1
impl StructuralPartialEq for TextContentV1
Auto Trait Implementations§
impl Freeze for TextContentV1
impl RefUnwindSafe for TextContentV1
impl Send for TextContentV1
impl Sync for TextContentV1
impl Unpin for TextContentV1
impl UnsafeUnpin for TextContentV1
impl UnwindSafe for TextContentV1
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