pub struct InvalidObjectState {
pub access_tier: Option<IntelligentTieringAccessTier>,
pub storage_class: Option<StorageClass>,
}Expand description
Object is archived and inaccessible until restored.
If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage
class, the S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access
tier, or the S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you
must first restore a copy using RestoreObject. Otherwise, this
operation returns an InvalidObjectState error. For information about restoring
archived objects, see Restoring Archived Objects in
the Amazon S3 User Guide.
Fields§
§access_tier: Option<IntelligentTieringAccessTier>§storage_class: Option<StorageClass>Trait Implementations§
Source§impl Clone for InvalidObjectState
impl Clone for InvalidObjectState
Source§fn clone(&self) -> InvalidObjectState
fn clone(&self) -> InvalidObjectState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvalidObjectState
impl Debug for InvalidObjectState
Source§impl Default for InvalidObjectState
impl Default for InvalidObjectState
Source§fn default() -> InvalidObjectState
fn default() -> InvalidObjectState
Returns the “default value” for a type. Read more
Source§impl DtoExt for InvalidObjectState
impl DtoExt for InvalidObjectState
Source§fn ignore_empty_strings(&mut self)
fn ignore_empty_strings(&mut self)
Modifies all empty string fields from
Some("") to NoneSource§impl PartialEq for InvalidObjectState
impl PartialEq for InvalidObjectState
Source§fn eq(&self, other: &InvalidObjectState) -> bool
fn eq(&self, other: &InvalidObjectState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InvalidObjectState
Auto Trait Implementations§
impl Freeze for InvalidObjectState
impl RefUnwindSafe for InvalidObjectState
impl Send for InvalidObjectState
impl Sync for InvalidObjectState
impl Unpin for InvalidObjectState
impl UnsafeUnpin for InvalidObjectState
impl UnwindSafe for InvalidObjectState
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