pub struct TextAutoPhone {
pub text: RichText,
}Expand description
Fields§
§text: RichTextTrait Implementations§
Source§impl Clone for TextAutoPhone
impl Clone for TextAutoPhone
Source§fn clone(&self) -> TextAutoPhone
fn clone(&self) -> TextAutoPhone
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 TextAutoPhone
impl Debug for TextAutoPhone
Source§impl Deserializable for TextAutoPhone
impl Deserializable for TextAutoPhone
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<TextAutoPhone> for RichText
impl From<TextAutoPhone> for RichText
Source§fn from(x: TextAutoPhone) -> Self
fn from(x: TextAutoPhone) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TextAutoPhone
impl Identifiable for TextAutoPhone
Source§const CONSTRUCTOR_ID: u32 = 0x24c26789
const CONSTRUCTOR_ID: u32 = 0x24c26789
The constructor ID as specified in the TL schema.
Source§impl PartialEq for TextAutoPhone
impl PartialEq for TextAutoPhone
Source§fn eq(&self, other: &TextAutoPhone) -> bool
fn eq(&self, other: &TextAutoPhone) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serializable for TextAutoPhone
impl Serializable for TextAutoPhone
impl StructuralPartialEq for TextAutoPhone
Auto Trait Implementations§
impl Freeze for TextAutoPhone
impl RefUnwindSafe for TextAutoPhone
impl Send for TextAutoPhone
impl Sync for TextAutoPhone
impl Unpin for TextAutoPhone
impl UnsafeUnpin for TextAutoPhone
impl UnwindSafe for TextAutoPhone
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