pub struct OrvantaFileMetadata {
pub mime_type: Option<String>,
pub size_in_bytes: Option<i32>,
pub last_modified: Option<String>,
pub expires: Option<String>,
pub version_id: Option<String>,
}Fields§
§mime_type: Option<String>§size_in_bytes: Option<i32>§last_modified: Option<String>§expires: Option<String>§version_id: Option<String>Implementations§
Source§impl OrvantaFileMetadata
impl OrvantaFileMetadata
pub fn new() -> OrvantaFileMetadata
Trait Implementations§
Source§impl Clone for OrvantaFileMetadata
impl Clone for OrvantaFileMetadata
Source§fn clone(&self) -> OrvantaFileMetadata
fn clone(&self) -> OrvantaFileMetadata
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 OrvantaFileMetadata
impl Debug for OrvantaFileMetadata
Source§impl Default for OrvantaFileMetadata
impl Default for OrvantaFileMetadata
Source§fn default() -> OrvantaFileMetadata
fn default() -> OrvantaFileMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrvantaFileMetadata
impl<'de> Deserialize<'de> for OrvantaFileMetadata
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 OrvantaFileMetadata
impl PartialEq for OrvantaFileMetadata
Source§fn eq(&self, other: &OrvantaFileMetadata) -> bool
fn eq(&self, other: &OrvantaFileMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OrvantaFileMetadata
impl Serialize for OrvantaFileMetadata
impl StructuralPartialEq for OrvantaFileMetadata
Auto Trait Implementations§
impl Freeze for OrvantaFileMetadata
impl RefUnwindSafe for OrvantaFileMetadata
impl Send for OrvantaFileMetadata
impl Sync for OrvantaFileMetadata
impl Unpin for OrvantaFileMetadata
impl UnsafeUnpin for OrvantaFileMetadata
impl UnwindSafe for OrvantaFileMetadata
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