pub struct CopyOptions {
pub mode: CopyMode,
pub conflict: CopyConflictPolicy,
pub preserve_metadata: MetadataPreservePolicy,
pub server_side: ServerSidePreference,
pub follow_symlinks: bool,
pub create_parent: bool,
pub continue_on_error: bool,
pub filter: Option<MetadataFilter>,
pub progress: ProgressPolicy,
}Expand description
Options controlling file, object, or tree copy operations.
Fields§
§mode: CopyModeCopy source interpretation mode.
conflict: CopyConflictPolicyDestination conflict policy.
preserve_metadata: MetadataPreservePolicyMetadata preservation policy.
server_side: ServerSidePreferenceServer-side copy preference.
follow_symlinks: boolWhether symbolic links should be followed.
create_parent: boolWhether missing destination parents should be created.
continue_on_error: boolWhether tree copy should continue after per-entry failures.
filter: Option<MetadataFilter>Optional metadata filter for tree copy.
progress: ProgressPolicyProgress collection policy.
Implementations§
Source§impl CopyOptions
impl CopyOptions
Trait Implementations§
Source§impl Clone for CopyOptions
impl Clone for CopyOptions
Source§fn clone(&self) -> CopyOptions
fn clone(&self) -> CopyOptions
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 CopyOptions
impl Debug for CopyOptions
Source§impl Default for CopyOptions
impl Default for CopyOptions
Source§impl PartialEq for CopyOptions
impl PartialEq for CopyOptions
Source§fn eq(&self, other: &CopyOptions) -> bool
fn eq(&self, other: &CopyOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CopyOptions
Auto Trait Implementations§
impl Freeze for CopyOptions
impl RefUnwindSafe for CopyOptions
impl Send for CopyOptions
impl Sync for CopyOptions
impl Unpin for CopyOptions
impl UnsafeUnpin for CopyOptions
impl UnwindSafe for CopyOptions
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.