pub struct File {
pub url: String,
pub thumbnails: Option<Thumbnails>,
pub name: String,
pub size: u64,
pub mime_type: String,
pub is_image: bool,
pub image_width: Option<u32>,
pub image_height: Option<u32>,
pub uploaded_at: String,
}
Fields§
§url: String
§thumbnails: Option<Thumbnails>
§name: String
§size: u64
§mime_type: String
§is_image: bool
§image_width: Option<u32>
§image_height: Option<u32>
§uploaded_at: String
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
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin 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