Struct mountpoint_s3_client::types::ObjectInfo
source · pub struct ObjectInfo {
pub key: String,
pub size: u64,
pub last_modified: OffsetDateTime,
pub storage_class: Option<String>,
pub restore_status: Option<RestoreStatus>,
pub etag: String,
}Expand description
Metadata about a single S3 object.
See Object in the Amazon S3 API Reference for more details.
Fields§
§key: StringKey for this object.
size: u64Size of this object in bytes.
last_modified: OffsetDateTimeThe time this object was last modified.
storage_class: Option<String>Storage class for this object. Optional because head_object does not return the storage class in its response for Standard objects. See examples in the Amazon S3 API Reference
restore_status: Option<RestoreStatus>Objects in flexible retrieval storage classes (such as GLACIER and DEEP_ARCHIVE) are only accessible after restoration
etag: StringEntity tag of this object.
Trait Implementations§
source§impl Clone for ObjectInfo
impl Clone for ObjectInfo
source§fn clone(&self) -> ObjectInfo
fn clone(&self) -> ObjectInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ObjectInfo
impl RefUnwindSafe for ObjectInfo
impl Send for ObjectInfo
impl Sync for ObjectInfo
impl Unpin for ObjectInfo
impl UnwindSafe for ObjectInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)