pub struct Object {
pub last_modified: DateTime,
pub e_tag: Option<String>,
pub storage_class: Option<String>,
pub key: String,
pub owner: Option<Owner>,
pub size: u64,
}
Expand description
An individual object in a ListBucketResult
Fields§
§last_modified: DateTime
Date and time the object was last modified.
e_tag: Option<String>
The entity tag is an MD5 hash of the object. The ETag only reflects changes to the contents of an object, not its metadata.
storage_class: Option<String>
STANDARD | STANDARD_IA | REDUCED_REDUNDANCY | GLACIER
key: String
The object’s key
owner: Option<Owner>
Bucket owner
size: u64
Size in bytes of the object.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Object
impl<'de> Deserialize<'de> for Object
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 Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
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