pub struct S3Object {
pub key: String,
pub version_id: String,
pub etag: String,
pub size: u64,
pub last_modified: DateTime<Utc>,
pub storage_class: String,
pub metadata: ObjectMetadata,
pub owner: Owner,
pub checksum: Option<ChecksumData>,
pub parts_count: Option<u32>,
pub part_etags: Vec<String>,
}Expand description
A stored S3 object (non-delete-marker).
Fields§
§key: StringThe object key.
version_id: StringThe version ID ("null" for un-versioned objects).
etag: StringThe entity tag (quoted hex MD5 digest, e.g. "d41d8cd98f00b204e9800998ecf8427e").
size: u64The object size in bytes.
last_modified: DateTime<Utc>The time this version was last modified.
storage_class: StringThe storage class (default STANDARD).
metadata: ObjectMetadataObject metadata (headers, tags, encryption, etc.).
owner: OwnerThe owner of this object.
checksum: Option<ChecksumData>Optional checksum data.
parts_count: Option<u32>The number of parts if this object was created via multipart upload.
Individual part ETags (used for composite ETag generation in multipart uploads).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for S3Object
impl<'de> Deserialize<'de> for S3Object
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
Auto Trait Implementations§
impl Freeze for S3Object
impl RefUnwindSafe for S3Object
impl Send for S3Object
impl Sync for S3Object
impl Unpin for S3Object
impl UnsafeUnpin for S3Object
impl UnwindSafe for S3Object
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