pub struct MessageMediaContact {
pub phone_number: String,
pub first_name: String,
pub last_name: String,
pub vcard: String,
pub user_id: i64,
}Expand description
Generated from:
messageMediaContact#70322949 phone_number:string first_name:string last_name:string vcard:string user_id:long = MessageMediaFields§
§phone_number: String§first_name: String§last_name: String§vcard: String§user_id: i64Trait Implementations§
Source§impl Clone for MessageMediaContact
impl Clone for MessageMediaContact
Source§fn clone(&self) -> MessageMediaContact
fn clone(&self) -> MessageMediaContact
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageMediaContact
impl Debug for MessageMediaContact
Source§impl Deserializable for MessageMediaContact
impl Deserializable for MessageMediaContact
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<MessageMediaContact> for MessageMedia
impl From<MessageMediaContact> for MessageMedia
Source§fn from(x: MessageMediaContact) -> Self
fn from(x: MessageMediaContact) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageMediaContact
impl Identifiable for MessageMediaContact
Source§const CONSTRUCTOR_ID: u32 = 0x70322949
const CONSTRUCTOR_ID: u32 = 0x70322949
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageMediaContact
impl PartialEq for MessageMediaContact
Source§impl Serializable for MessageMediaContact
impl Serializable for MessageMediaContact
Source§impl TryFrom<MessageMedia> for MessageMediaContact
impl TryFrom<MessageMedia> for MessageMediaContact
Source§type Error = MessageMedia
type Error = MessageMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageMediaContact
Auto Trait Implementations§
impl Freeze for MessageMediaContact
impl RefUnwindSafe for MessageMediaContact
impl Send for MessageMediaContact
impl Sync for MessageMediaContact
impl Unpin for MessageMediaContact
impl UnsafeUnpin for MessageMediaContact
impl UnwindSafe for MessageMediaContact
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