pub struct DsFile {
pub file_id: Uuid,
pub name: String,
pub size: u64,
pub mime_type: String,
}Expand description
File reference in the storage engine.
Fields§
§file_id: UuidFile ID.
name: StringFile name.
size: u64File size in bytes.
mime_type: StringMIME type.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DsFile
impl<'de> Deserialize<'de> for DsFile
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
Source§impl PartialOrd for DsFile
impl PartialOrd for DsFile
impl StructuralPartialEq for DsFile
Auto Trait Implementations§
impl Freeze for DsFile
impl RefUnwindSafe for DsFile
impl Send for DsFile
impl Sync for DsFile
impl Unpin for DsFile
impl UnsafeUnpin for DsFile
impl UnwindSafe for DsFile
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