pub enum MetadataPreservePolicy {
None,
Portable,
UserMetadata,
ProviderNative,
All,
}Expand description
Metadata preservation policy for copy operations.
Variants§
None
Do not preserve metadata.
Portable
Preserve portable metadata fields.
UserMetadata
Preserve user-defined metadata.
ProviderNative
Preserve provider-native metadata when possible.
All
Preserve every metadata field that the provider can represent.
Trait Implementations§
Source§impl Clone for MetadataPreservePolicy
impl Clone for MetadataPreservePolicy
Source§fn clone(&self) -> MetadataPreservePolicy
fn clone(&self) -> MetadataPreservePolicy
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 MetadataPreservePolicy
impl Debug for MetadataPreservePolicy
Source§impl Default for MetadataPreservePolicy
impl Default for MetadataPreservePolicy
Source§impl PartialEq for MetadataPreservePolicy
impl PartialEq for MetadataPreservePolicy
Source§fn eq(&self, other: &MetadataPreservePolicy) -> bool
fn eq(&self, other: &MetadataPreservePolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MetadataPreservePolicy
impl Eq for MetadataPreservePolicy
impl StructuralPartialEq for MetadataPreservePolicy
Auto Trait Implementations§
impl Freeze for MetadataPreservePolicy
impl RefUnwindSafe for MetadataPreservePolicy
impl Send for MetadataPreservePolicy
impl Sync for MetadataPreservePolicy
impl Unpin for MetadataPreservePolicy
impl UnsafeUnpin for MetadataPreservePolicy
impl UnwindSafe for MetadataPreservePolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.