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