Enum clacks::mtproto::DocumentAttribute
[−]
[src]
pub enum DocumentAttribute { documentAttributeImageSize(documentAttributeImageSize), documentAttributeAnimated, documentAttributeSticker(documentAttributeSticker), documentAttributeVideo(documentAttributeVideo), documentAttributeAudio(documentAttributeAudio), documentAttributeFilename(documentAttributeFilename), documentAttributeHasStickers, }
Variants
documentAttributeImageSize(documentAttributeImageSize)
documentAttributeAnimated
documentAttributeSticker(documentAttributeSticker)
documentAttributeVideo(documentAttributeVideo)
documentAttributeAudio(documentAttributeAudio)
documentAttributeFilename(documentAttributeFilename)
documentAttributeHasStickers
Trait Implementations
impl Debug for DocumentAttribute
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DocumentAttribute
[src]
fn clone(&self) -> DocumentAttribute
[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 DocumentAttribute
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
impl BoxedDeserialize for DocumentAttribute
[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>