pub struct S3Object {Show 27 fields
pub key: String,
pub data: Bytes,
pub content_type: String,
pub etag: String,
pub size: u64,
pub last_modified: DateTime<Utc>,
pub metadata: HashMap<String, String>,
pub storage_class: String,
pub tags: HashMap<String, String>,
pub acl_grants: Vec<AclGrant>,
pub acl_owner_id: Option<String>,
pub parts_count: Option<u32>,
pub part_sizes: Option<Vec<(u32, u64)>>,
pub sse_algorithm: Option<String>,
pub sse_kms_key_id: Option<String>,
pub bucket_key_enabled: Option<bool>,
pub version_id: Option<String>,
pub is_delete_marker: bool,
pub content_encoding: Option<String>,
pub website_redirect_location: Option<String>,
pub restore_ongoing: Option<bool>,
pub restore_expiry: Option<String>,
pub checksum_algorithm: Option<String>,
pub checksum_value: Option<String>,
pub lock_mode: Option<String>,
pub lock_retain_until: Option<DateTime<Utc>>,
pub lock_legal_hold: Option<String>,
}Fields§
§key: String§data: Bytes§content_type: String§etag: String§size: u64§last_modified: DateTime<Utc>§metadata: HashMap<String, String>§storage_class: String§acl_grants: Vec<AclGrant>§acl_owner_id: Option<String>§parts_count: Option<u32>If created from multipart upload, the number of parts.
part_sizes: Option<Vec<(u32, u64)>>Per-part sizes for multipart objects (part_number, size).
sse_algorithm: Option<String>Server-side encryption algorithm.
sse_kms_key_id: Option<String>KMS key ID for SSE-KMS.
bucket_key_enabled: Option<bool>Whether bucket key is enabled.
version_id: Option<String>§is_delete_marker: bool§content_encoding: Option<String>§website_redirect_location: Option<String>§restore_ongoing: Option<bool>Glacier restore: ongoing request status.
restore_expiry: Option<String>Glacier restore: expiry date string.
checksum_algorithm: Option<String>Checksum algorithm (CRC32, SHA1, SHA256).
checksum_value: Option<String>Base64-encoded checksum value.
lock_mode: Option<String>Object lock mode (GOVERNANCE or COMPLIANCE).
lock_retain_until: Option<DateTime<Utc>>Object lock retain-until date (ISO 8601).
lock_legal_hold: Option<String>Legal hold status (ON or OFF).
Trait Implementations§
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