Struct aws_sdk_s3::model::Object [−][src]
#[non_exhaustive]pub struct Object {
pub key: Option<String>,
pub last_modified: Option<Instant>,
pub e_tag: Option<String>,
pub size: i64,
pub storage_class: Option<ObjectStorageClass>,
pub owner: Option<Owner>,
}
Expand description
An object consists of data and its descriptive metadata.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key: Option<String>
The name that you assign to an object. You use the object key to retrieve the object.
last_modified: Option<Instant>
Creation date of the object.
e_tag: Option<String>
The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata. The ETag may or may not be an MD5 digest of the object data. Whether or not it is depends on how the object was created and how it is encrypted as described below:
-
Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that are an MD5 digest of their object data.
-
Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are not an MD5 digest of their object data.
-
If an object is created by either the Multipart Upload or Part Copy operation, the ETag is not an MD5 digest, regardless of the method of encryption.
size: i64
Size in bytes of the object
storage_class: Option<ObjectStorageClass>
The class of storage used to store the object.
owner: Option<Owner>
The owner of the object
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Object
impl UnwindSafe for Object
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more