pub struct DatedFile {
    pub file: File,
    pub date: i32,
}Expand description
File with the date it was uploaded
Fields§
§file: FileThe file
date: i32Point in time (Unix timestamp) when the file was uploaded
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DatedFile
 
impl<'de> Deserialize<'de> for DatedFile
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 DatedFile
Auto Trait Implementations§
impl Freeze for DatedFile
impl RefUnwindSafe for DatedFile
impl Send for DatedFile
impl Sync for DatedFile
impl Unpin for DatedFile
impl UnwindSafe for DatedFile
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