pub enum MetadataDirective {
Copy,
Replace,
}Expand description
How CopyObject handles source metadata.
Variants§
Copy
Copy metadata from the selected source object.
Replace
Replace source metadata with the provided destination attributes.
Trait Implementations§
Source§impl Clone for MetadataDirective
impl Clone for MetadataDirective
Source§fn clone(&self) -> MetadataDirective
fn clone(&self) -> MetadataDirective
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 moreimpl Copy for MetadataDirective
Source§impl Debug for MetadataDirective
impl Debug for MetadataDirective
impl Eq for MetadataDirective
Source§impl PartialEq for MetadataDirective
impl PartialEq for MetadataDirective
impl StructuralPartialEq for MetadataDirective
Auto Trait Implementations§
impl Freeze for MetadataDirective
impl RefUnwindSafe for MetadataDirective
impl Send for MetadataDirective
impl Sync for MetadataDirective
impl Unpin for MetadataDirective
impl UnsafeUnpin for MetadataDirective
impl UnwindSafe for MetadataDirective
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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