pub struct BulkRestoreObjectsRequest {
pub allow_overwrite: Option<bool>,
pub copy_source_acl: Option<bool>,
pub match_globs: Option<Vec<String>>,
pub soft_deleted_after_time: Option<DateTime<Utc>>,
pub soft_deleted_before_time: Option<DateTime<Utc>>,
}
Expand description
A bulk restore objects request.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- bulk restore objects (request)
Fields§
§allow_overwrite: Option<bool>
If false (default), the restore will not overwrite live objects with the same name at the destination. This means some deleted objects may be skipped. If true, live objects will be overwritten resulting in a noncurrent object (if versioning is enabled). If versioning is not enabled, overwriting the object will result in a soft-deleted object. In either case, if a noncurrent object already exists with the same name, a live version can be written without issue.
copy_source_acl: Option<bool>
If true, copies the source object’s ACL; otherwise, uses the bucket’s default object ACL. The default is false.
match_globs: Option<Vec<String>>
Restores only the objects matching any of the specified glob(s). If this parameter is not specified, all objects will be restored within the specified time range.
soft_deleted_after_time: Option<DateTime<Utc>>
Restores only the objects that were soft-deleted after this time.
soft_deleted_before_time: Option<DateTime<Utc>>
Restores only the objects that were soft-deleted before this time.
Trait Implementations§
Source§impl Clone for BulkRestoreObjectsRequest
impl Clone for BulkRestoreObjectsRequest
Source§fn clone(&self) -> BulkRestoreObjectsRequest
fn clone(&self) -> BulkRestoreObjectsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BulkRestoreObjectsRequest
impl Debug for BulkRestoreObjectsRequest
Source§impl Default for BulkRestoreObjectsRequest
impl Default for BulkRestoreObjectsRequest
Source§fn default() -> BulkRestoreObjectsRequest
fn default() -> BulkRestoreObjectsRequest
Source§impl<'de> Deserialize<'de> for BulkRestoreObjectsRequest
impl<'de> Deserialize<'de> for BulkRestoreObjectsRequest
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>,
impl RequestValue for BulkRestoreObjectsRequest
Auto Trait Implementations§
impl Freeze for BulkRestoreObjectsRequest
impl RefUnwindSafe for BulkRestoreObjectsRequest
impl Send for BulkRestoreObjectsRequest
impl Sync for BulkRestoreObjectsRequest
impl Unpin for BulkRestoreObjectsRequest
impl UnwindSafe for BulkRestoreObjectsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more