Enum clacks_mtproto::mtproto::contacts::Link
[−]
[src]
pub enum Link { Link(Link), }
TL-derived from contacts.Link
contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link;
Variants
Link(Link)
Methods
impl Link
[src]
pub fn foreign_link(&self) -> &ContactLink
[src]
pub fn my_link(&self) -> &ContactLink
[src]
pub fn user(&self) -> &User
[src]
Trait Implementations
impl Debug for Link
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Link
[src]
fn clone(&self) -> Link
[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 Link
[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 Link
[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>