pub struct File {
pub type: FileType,
pub mtime: i32,
pub bytes: Vec<u8>,
}Expand description
Generated from the following TL definition:
upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.FileFields§
§type: FileType§mtime: i32§bytes: Vec<u8>Trait Implementations§
Source§impl Deserializable for File
impl Deserializable for File
Source§impl Identifiable for File
impl Identifiable for File
Source§const CONSTRUCTOR_ID: u32 = 157948117
const CONSTRUCTOR_ID: u32 = 157948117
The unique identifier for the type.
Source§impl Serializable for File
impl Serializable for File
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnsafeUnpin for File
impl UnwindSafe for File
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