#[non_exhaustive]pub enum Transformation {
PutObjectHold(Box<PutObjectHold>),
DeleteObject(Box<DeleteObject>),
PutMetadata(Box<PutMetadata>),
RewriteObject(Box<RewriteObject>),
}Expand description
Operation to be performed on the objects.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PutObjectHold(Box<PutObjectHold>)
Changes object hold status.
DeleteObject(Box<DeleteObject>)
Delete objects.
PutMetadata(Box<PutMetadata>)
Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type, Custom-Time.
RewriteObject(Box<RewriteObject>)
Rewrite the object and updates metadata like KMS key.
Trait Implementations§
Source§impl Clone for Transformation
impl Clone for Transformation
Source§fn clone(&self) -> Transformation
fn clone(&self) -> Transformation
Returns a duplicate of the value. Read more
1.0.0 · 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 Transformation
impl Debug for Transformation
Source§impl PartialEq for Transformation
impl PartialEq for Transformation
impl StructuralPartialEq for Transformation
Auto Trait Implementations§
impl Freeze for Transformation
impl RefUnwindSafe for Transformation
impl Send for Transformation
impl Sync for Transformation
impl Unpin for Transformation
impl UnwindSafe for Transformation
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