pub struct WebFile {
pub size: i32,
pub mime_type: String,
pub file_type: FileType,
pub mtime: i32,
pub bytes: Vec<u8>,
}Expand description
Generated from the following TL definition:
upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFileFields§
§size: i32§mime_type: String§file_type: FileType§mtime: i32§bytes: Vec<u8>Trait Implementations§
Source§impl Deserializable for WebFile
impl Deserializable for WebFile
Source§impl Identifiable for WebFile
impl Identifiable for WebFile
Source§const CONSTRUCTOR_ID: u32 = 568808380
const CONSTRUCTOR_ID: u32 = 568808380
The unique identifier for the type.
Source§impl Serializable for WebFile
impl Serializable for WebFile
impl StructuralPartialEq for WebFile
Auto Trait Implementations§
impl Freeze for WebFile
impl RefUnwindSafe for WebFile
impl Send for WebFile
impl Sync for WebFile
impl Unpin for WebFile
impl UnsafeUnpin for WebFile
impl UnwindSafe for WebFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more