pub struct ObjectMetadata { /* private fields */ }
Implementations§
Source§impl ObjectMetadata
impl ObjectMetadata
pub fn new(headers: &HeaderMap) -> ObjectMetadata
pub fn last_modified(&self) -> Option<DateTime<Utc>>
pub fn expiration_time(&self) -> Option<DateTime<Utc>>
pub fn content_md5(&self) -> Option<String>
pub fn etag(&self) -> Option<String>
pub fn content_length(&self) -> Option<String>
pub fn content_type(&self) -> Option<String>
pub fn content_encoding(&self) -> Option<String>
pub fn content_disposition(&self) -> Option<String>
pub fn cache_control(&self) -> Option<String>
pub fn crc64(&self) -> Option<String>
pub fn server_side_encryption(&self) -> Option<String>
pub fn object_type(&self) -> Option<String>
Trait Implementations§
Source§impl Debug for ObjectMetadata
impl Debug for ObjectMetadata
impl Send for ObjectMetadata
impl Sync for ObjectMetadata
Auto Trait Implementations§
impl Freeze for ObjectMetadata
impl RefUnwindSafe for ObjectMetadata
impl Unpin for ObjectMetadata
impl UnwindSafe for ObjectMetadata
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