pub struct TextUrl {
pub text: RichText,
pub url: String,
pub webpage_id: i64,
}Expand description
Fields§
§text: RichText§url: String§webpage_id: i64Trait Implementations§
Source§impl Deserializable for TextUrl
impl Deserializable for TextUrl
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 Identifiable for TextUrl
impl Identifiable for TextUrl
Source§const CONSTRUCTOR_ID: u32 = 0x3c2884c1
const CONSTRUCTOR_ID: u32 = 0x3c2884c1
The constructor ID as specified in the TL schema.
Source§impl Serializable for TextUrl
impl Serializable for TextUrl
impl StructuralPartialEq for TextUrl
Auto Trait Implementations§
impl Freeze for TextUrl
impl RefUnwindSafe for TextUrl
impl Send for TextUrl
impl Sync for TextUrl
impl Unpin for TextUrl
impl UnsafeUnpin for TextUrl
impl UnwindSafe for TextUrl
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