Enum clacks_mtproto::mtproto::FutureSalt
[−]
[src]
pub enum FutureSalt { FutureSalt(FutureSalt), }
TL-derived from FutureSalt
future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt;
Variants
FutureSalt(FutureSalt)
Methods
impl FutureSalt
[src]
pub fn salt(&self) -> &long
[src]
pub fn valid_since(&self) -> &int
[src]
pub fn valid_until(&self) -> &int
[src]
Trait Implementations
impl Debug for FutureSalt
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for FutureSalt
[src]
fn clone(&self) -> FutureSalt
[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 FutureSalt
[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 FutureSalt
[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>