pub struct FileDetails {
pub size: i64,
pub image: Option<ImageDetails>,
}Fields§
§size: i64§image: Option<ImageDetails>Trait Implementations§
Source§impl Clone for FileDetails
impl Clone for FileDetails
Source§fn clone(&self) -> FileDetails
fn clone(&self) -> FileDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileDetails
impl Debug for FileDetails
Source§impl<'de> Deserialize<'de> for FileDetails
impl<'de> Deserialize<'de> for FileDetails
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 FileDetails
impl RefUnwindSafe for FileDetails
impl Send for FileDetails
impl Sync for FileDetails
impl Unpin for FileDetails
impl UnwindSafe for FileDetails
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