pub struct File {
pub content_type: Option<String>,
pub date: Option<String>,
pub download_id: Option<String>,
pub name: Option<String>,
pub url: Option<String>,
pub size: Option<i64>,
}Fields§
§content_type: Option<String>Тип файла
date: Option<String>Дата загрузки файла
download_id: Option<String>ID файла. Получить файл
name: Option<String>Название файла
url: Option<String>URL для получения файла
size: Option<i64>Размер файла в байтах
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for File
impl<'de> Deserialize<'de> for File
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Forget for File
impl Freeze for File
impl Move for File
impl RefUnwindSafe for File
impl Send for Filewhere
RawVecInner: Send,
impl Sync for Filewhere
RawVecInner: Sync,
impl Unpin for File
impl UnsafeUnpin for File
impl UnwindSafe for Filewhere
RawVecInner: UnwindSafe,
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