pub struct PersistOptions {
pub overwrite: bool,
pub atomic: AtomicityRequirement,
pub allow_copy_delete: bool,
pub preserve_metadata: MetadataPreservePolicy,
}Expand description
Options controlling temporary resource persistence.
Fields§
§overwrite: boolWhether the destination may be overwritten.
atomic: AtomicityRequirementRequired atomicity level.
allow_copy_delete: boolWhether copy plus delete may be used when rename is unavailable.
preserve_metadata: MetadataPreservePolicyMetadata preservation policy.
Trait Implementations§
Source§impl Clone for PersistOptions
impl Clone for PersistOptions
Source§fn clone(&self) -> PersistOptions
fn clone(&self) -> PersistOptions
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 PersistOptions
impl Debug for PersistOptions
Source§impl Default for PersistOptions
impl Default for PersistOptions
Source§impl PartialEq for PersistOptions
impl PartialEq for PersistOptions
Source§fn eq(&self, other: &PersistOptions) -> bool
fn eq(&self, other: &PersistOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PersistOptions
impl StructuralPartialEq for PersistOptions
Auto Trait Implementations§
impl Freeze for PersistOptions
impl RefUnwindSafe for PersistOptions
impl Send for PersistOptions
impl Sync for PersistOptions
impl Unpin for PersistOptions
impl UnsafeUnpin for PersistOptions
impl UnwindSafe for PersistOptions
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.