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