Enum clacks_mtproto::mtproto::upload::WebFile
[−]
[src]
pub enum WebFile { WebFile(WebFile), }
TL-derived from upload.WebFile
upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile;
Variants
WebFile(WebFile)
Methods
impl WebFile
[src]
pub fn bytes(&self) -> &bytes
[src]
pub fn file_type(&self) -> &FileType
[src]
pub fn mime_type(&self) -> &string
[src]
pub fn mtime(&self) -> &int
[src]
pub fn size(&self) -> &int
[src]
Trait Implementations
impl Debug for WebFile
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for WebFile
[src]
fn clone(&self) -> WebFile
[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 WebFile
[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 WebFile
[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>