Enum clacks_mtproto::mtproto::WebDocument
[−]
[src]
pub enum WebDocument { WebDocument(WebDocument), }
TL-derived from WebDocument
webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector<DocumentAttribute> dc_id:int = WebDocument;
Variants
WebDocument(WebDocument)
Methods
impl WebDocument
[src]
pub fn access_hash(&self) -> &long
[src]
pub fn attributes(&self) -> &Vector<Boxed, DocumentAttribute>
[src]
pub fn dc_id(&self) -> &int
[src]
pub fn mime_type(&self) -> &string
[src]
pub fn size(&self) -> &int
[src]
pub fn url(&self) -> &string
[src]
Trait Implementations
impl Debug for WebDocument
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for WebDocument
[src]
fn clone(&self) -> WebDocument
[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 WebDocument
[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 WebDocument
[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>