pub struct StorageFile {
pub id: Option<String>,
pub name: Option<String>,
pub content_type: Option<String>,
pub url: Option<String>,
pub size: Option<i64>,
pub hash: Option<Option<String>>,
pub etag: Option<Option<String>>,
pub created: Option<String>,
pub updated: Option<Option<String>>,
}Fields§
§id: Option<String>§name: Option<String>§content_type: Option<String>§url: Option<String>§size: Option<i64>§hash: Option<Option<String>>§etag: Option<Option<String>>§created: Option<String>§updated: Option<Option<String>>Implementations§
Trait Implementations§
Source§impl Clone for StorageFile
impl Clone for StorageFile
Source§fn clone(&self) -> StorageFile
fn clone(&self) -> StorageFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StorageFile
impl Debug for StorageFile
Source§impl Default for StorageFile
impl Default for StorageFile
Source§fn default() -> StorageFile
fn default() -> StorageFile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StorageFile
impl<'de> Deserialize<'de> for StorageFile
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 PartialEq for StorageFile
impl PartialEq for StorageFile
Source§fn eq(&self, other: &StorageFile) -> bool
fn eq(&self, other: &StorageFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StorageFile
impl Serialize for StorageFile
impl StructuralPartialEq for StorageFile
Auto Trait Implementations§
impl Freeze for StorageFile
impl RefUnwindSafe for StorageFile
impl Send for StorageFile
impl Sync for StorageFile
impl Unpin for StorageFile
impl UnsafeUnpin for StorageFile
impl UnwindSafe for StorageFile
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