Enum clacks_mtproto::mtproto::InputContact
[−]
[src]
pub enum InputContact { InputPhoneContact(InputPhoneContact), }
TL-derived from InputContact
inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;
Variants
InputPhoneContact(InputPhoneContact)
Methods
impl InputContact
[src]
pub fn client_id(&self) -> &long
[src]
pub fn first_name(&self) -> &string
[src]
pub fn last_name(&self) -> &string
[src]
pub fn phone(&self) -> &string
[src]
Trait Implementations
impl Debug for InputContact
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for InputContact
[src]
fn clone(&self) -> InputContact
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BoxedSerialize for InputContact
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
fn boxed_serialized_bytes(&self) -> Result<Vec<u8>>
[src]
impl BoxedDeserialize for InputContact
[src]
fn possible_constructors() -> Vec<ConstructorNumber>
[src]
fn deserialize_boxed(
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>
[src]
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>