Enum clacks_mtproto::mtproto::DestroySessionRes
[−]
[src]
pub enum DestroySessionRes { Ok(Ok), None(None), }
TL-derived from DestroySessionRes
destroy_session_ok#e22045fc session_id:long = DestroySessionRes;
destroy_session_none#62d350c9 session_id:long = DestroySessionRes;
Variants
Ok(Ok)
None(None)
Methods
impl DestroySessionRes
[src]
pub fn session_id(&self) -> &long
[src]
Trait Implementations
impl Debug for DestroySessionRes
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DestroySessionRes
[src]
fn clone(&self) -> DestroySessionRes
[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 DestroySessionRes
[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 DestroySessionRes
[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>