pub struct TextAutoEmail {
pub text: RichText,
}Expand description
Fields§
§text: RichTextTrait Implementations§
Source§impl Clone for TextAutoEmail
impl Clone for TextAutoEmail
Source§fn clone(&self) -> TextAutoEmail
fn clone(&self) -> TextAutoEmail
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 TextAutoEmail
impl Debug for TextAutoEmail
Source§impl Deserializable for TextAutoEmail
impl Deserializable for TextAutoEmail
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<TextAutoEmail> for RichText
impl From<TextAutoEmail> for RichText
Source§fn from(x: TextAutoEmail) -> Self
fn from(x: TextAutoEmail) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TextAutoEmail
impl Identifiable for TextAutoEmail
Source§const CONSTRUCTOR_ID: u32 = 0xc556a45d
const CONSTRUCTOR_ID: u32 = 0xc556a45d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TextAutoEmail
impl PartialEq for TextAutoEmail
Source§fn eq(&self, other: &TextAutoEmail) -> bool
fn eq(&self, other: &TextAutoEmail) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serializable for TextAutoEmail
impl Serializable for TextAutoEmail
impl StructuralPartialEq for TextAutoEmail
Auto Trait Implementations§
impl Freeze for TextAutoEmail
impl RefUnwindSafe for TextAutoEmail
impl Send for TextAutoEmail
impl Sync for TextAutoEmail
impl Unpin for TextAutoEmail
impl UnsafeUnpin for TextAutoEmail
impl UnwindSafe for TextAutoEmail
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