pub struct ObjectMeta {Show 26 fields
pub key: String,
pub content_type: String,
pub etag: String,
pub size: u64,
pub last_modified: DateTime<Utc>,
pub metadata: HashMap<String, String>,
pub tags: HashMap<String, String>,
pub storage_class: String,
pub acl_grants: Vec<AclGrantSnapshot>,
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 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>,
pub content_encoding: Option<String>,
pub website_redirect_location: Option<String>,
}Fields§
§key: String§content_type: String§etag: String§size: u64§last_modified: DateTime<Utc>§metadata: HashMap<String, String>§storage_class: String§acl_grants: Vec<AclGrantSnapshot>§acl_owner_id: Option<String>§parts_count: Option<u32>§part_sizes: Option<Vec<(u32, u64)>>§sse_algorithm: Option<String>§sse_kms_key_id: Option<String>§bucket_key_enabled: Option<bool>§version_id: Option<String>§is_delete_marker: bool§restore_ongoing: Option<bool>§restore_expiry: Option<String>§checksum_algorithm: Option<String>§checksum_value: Option<String>§lock_mode: Option<String>§lock_retain_until: Option<DateTime<Utc>>§lock_legal_hold: Option<String>§content_encoding: Option<String>§website_redirect_location: Option<String>Trait Implementations§
Source§impl Clone for ObjectMeta
impl Clone for ObjectMeta
Source§fn clone(&self) -> ObjectMeta
fn clone(&self) -> ObjectMeta
Returns a duplicate 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 moreSource§impl Debug for ObjectMeta
impl Debug for ObjectMeta
Source§impl Default for ObjectMeta
impl Default for ObjectMeta
Source§fn default() -> ObjectMeta
fn default() -> ObjectMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectMeta
impl<'de> Deserialize<'de> for ObjectMeta
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 ObjectMeta
impl RefUnwindSafe for ObjectMeta
impl Send for ObjectMeta
impl Sync for ObjectMeta
impl Unpin for ObjectMeta
impl UnsafeUnpin for ObjectMeta
impl UnwindSafe for ObjectMeta
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