pub struct ObjectVersion {
pub checksum_algorithm: Option<ChecksumAlgorithmList>,
pub checksum_type: Option<ChecksumType>,
pub e_tag: Option<ETag>,
pub is_latest: Option<IsLatest>,
pub key: Option<ObjectKey>,
pub last_modified: Option<LastModified>,
pub owner: Option<Owner>,
pub restore_status: Option<RestoreStatus>,
pub size: Option<Size>,
pub storage_class: Option<ObjectVersionStorageClass>,
pub version_id: Option<ObjectVersionId>,
}Expand description
The version of an object.
Fields§
§checksum_algorithm: Option<ChecksumAlgorithmList>The algorithm that was used to create a checksum of the object.
checksum_type: Option<ChecksumType>The checksum type that is used to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.
e_tag: Option<ETag>The entity tag is an MD5 hash of that version of the object.
is_latest: Option<IsLatest>Specifies whether the object is (true) or is not (false) the latest version of an object.
key: Option<ObjectKey>The object key.
last_modified: Option<LastModified>Date and time when the object was last modified.
owner: Option<Owner>Specifies the owner of the object.
restore_status: Option<RestoreStatus>Specifies the restoration status of an object. Objects in certain storage classes must be restored before they can be retrieved. For more information about these storage classes and how to work with archived objects, see Working with archived objects in the Amazon S3 User Guide.
size: Option<Size>Size in bytes of the object.
storage_class: Option<ObjectVersionStorageClass>The class of storage used to store the object.
version_id: Option<ObjectVersionId>Version ID of an object.
Trait Implementations§
Source§impl Clone for ObjectVersion
impl Clone for ObjectVersion
Source§fn clone(&self) -> ObjectVersion
fn clone(&self) -> ObjectVersion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ObjectVersion
impl Debug for ObjectVersion
Source§impl Default for ObjectVersion
impl Default for ObjectVersion
Source§fn default() -> ObjectVersion
fn default() -> ObjectVersion
Source§impl<'xml> DeserializeContent<'xml> for ObjectVersion
Available on crate feature minio only.
impl<'xml> DeserializeContent<'xml> for ObjectVersion
minio only.Source§fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
Source§impl DtoExt for ObjectVersion
impl DtoExt for ObjectVersion
Source§fn ignore_empty_strings(&mut self)
fn ignore_empty_strings(&mut self)
Some("") to NoneSource§impl PartialEq for ObjectVersion
impl PartialEq for ObjectVersion
Source§fn eq(&self, other: &ObjectVersion) -> bool
fn eq(&self, other: &ObjectVersion) -> bool
self and other values to be equal, and is used by ==.Source§impl SerializeContent for ObjectVersion
Available on crate feature minio only.
impl SerializeContent for ObjectVersion
minio only.