pub struct ListedFile {
pub name: String,
pub uuid: Uuid,
pub deleted: Option<DateTime<Utc>>,
pub current_revision: Option<Revision>,
pub latest_revision: Option<Revision>,
}
Expand description
A file. Might have multiple versions.
Fields§
§name: String
File name.
uuid: Uuid
Id, but I don’t know exactly how unique it is. Maybe other users have files with the same ids?
deleted: Option<DateTime<Utc>>
Deletion date of the file. None
means it isn’t deleted.
current_revision: Option<Revision>
Current revision of the file.
latest_revision: Option<Revision>
Optional latest revision.
Trait Implementations§
Source§impl Debug for ListedFile
impl Debug for ListedFile
Source§impl<'de> Deserialize<'de> for ListedFile
impl<'de> Deserialize<'de> for ListedFile
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 ListedFile
impl RefUnwindSafe for ListedFile
impl Send for ListedFile
impl Sync for ListedFile
impl Unpin for ListedFile
impl UnwindSafe for ListedFile
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