pub struct AddContact {
pub add_phone_privacy_exception: bool,
pub id: InputUser,
pub first_name: String,
pub last_name: String,
pub phone: String,
pub note: Option<TextWithEntities>,
}Expand description
Generated from:
contacts.addContact#d9ba2e54 flags:# add_phone_privacy_exception:flags.0?true id:InputUser first_name:string last_name:string phone:string note:flags.1?TextWithEntities = UpdatesFields§
§add_phone_privacy_exception: bool§id: InputUser§first_name: String§last_name: String§phone: String§note: Option<TextWithEntities>Trait Implementations§
Source§impl Clone for AddContact
impl Clone for AddContact
Source§fn clone(&self) -> AddContact
fn clone(&self) -> AddContact
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 AddContact
impl Debug for AddContact
Source§impl Identifiable for AddContact
impl Identifiable for AddContact
Source§const CONSTRUCTOR_ID: u32 = 0xd9ba2e54
const CONSTRUCTOR_ID: u32 = 0xd9ba2e54
The constructor ID as specified in the TL schema.
Source§impl PartialEq for AddContact
impl PartialEq for AddContact
Source§impl RemoteCall for AddContact
impl RemoteCall for AddContact
Source§impl Serializable for AddContact
impl Serializable for AddContact
impl StructuralPartialEq for AddContact
Auto Trait Implementations§
impl Freeze for AddContact
impl RefUnwindSafe for AddContact
impl Send for AddContact
impl Sync for AddContact
impl Unpin for AddContact
impl UnsafeUnpin for AddContact
impl UnwindSafe for AddContact
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