Enum clacks_mtproto::mtproto::Bool
[−]
[src]
pub enum Bool { False, True, }
TL-derived from Bool
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
Variants
False
True
Trait Implementations
impl Debug for Bool
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Bool
[src]
fn clone(&self) -> Bool
[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 Bool
[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 Bool
[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>