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§
Auto Trait Implementations§
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