pub struct SavedPhoneContact {
pub phone: String,
pub first_name: String,
pub last_name: String,
pub date: i32,
}Expand description
Generated from:
savedPhoneContact#1142bd56 phone:string first_name:string last_name:string date:int = SavedContactFields§
§phone: String§first_name: String§last_name: String§date: i32Trait Implementations§
Source§impl Clone for SavedPhoneContact
impl Clone for SavedPhoneContact
Source§fn clone(&self) -> SavedPhoneContact
fn clone(&self) -> SavedPhoneContact
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 SavedPhoneContact
impl Debug for SavedPhoneContact
Source§impl Deserializable for SavedPhoneContact
impl Deserializable for SavedPhoneContact
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<SavedPhoneContact> for SavedContact
impl From<SavedPhoneContact> for SavedContact
Source§fn from(x: SavedPhoneContact) -> Self
fn from(x: SavedPhoneContact) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SavedPhoneContact
impl Identifiable for SavedPhoneContact
Source§const CONSTRUCTOR_ID: u32 = 0x1142bd56
const CONSTRUCTOR_ID: u32 = 0x1142bd56
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SavedPhoneContact
impl PartialEq for SavedPhoneContact
Source§impl Serializable for SavedPhoneContact
impl Serializable for SavedPhoneContact
Source§impl TryFrom<SavedContact> for SavedPhoneContact
impl TryFrom<SavedContact> for SavedPhoneContact
Source§type Error = SavedContact
type Error = SavedContact
The type returned in the event of a conversion error.
impl StructuralPartialEq for SavedPhoneContact
Auto Trait Implementations§
impl Freeze for SavedPhoneContact
impl RefUnwindSafe for SavedPhoneContact
impl Send for SavedPhoneContact
impl Sync for SavedPhoneContact
impl Unpin for SavedPhoneContact
impl UnsafeUnpin for SavedPhoneContact
impl UnwindSafe for SavedPhoneContact
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