Enum clacks_mtproto::mtproto::PostAddress
[−]
[src]
pub enum PostAddress { PostAddress(PostAddress), }
TL-derived from PostAddress
postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress;
Variants
PostAddress(PostAddress)
Methods
impl PostAddress
[src]
pub fn city(&self) -> &string
[src]
pub fn country_iso2(&self) -> &string
[src]
pub fn post_code(&self) -> &string
[src]
pub fn state(&self) -> &string
[src]
pub fn street_line1(&self) -> &string
[src]
pub fn street_line2(&self) -> &string
[src]
Trait Implementations
impl Debug for PostAddress
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PostAddress
[src]
fn clone(&self) -> PostAddress
[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 PostAddress
[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 PostAddress
[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>