pub struct StorageFile {
pub key: String,
pub name: String,
pub size: Option<i32>,
pub last_modified: Option<String>,
}Fields§
§key: String§name: String§size: Option<i32>§last_modified: Option<String>Implementations§
Source§impl StorageFile
impl StorageFile
pub fn new(key: String, name: String) -> StorageFile
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§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