pub struct CopyOutcome {
pub copied: bool,
pub verified: bool,
}Expand description
Outcome of a successful copy.
Fields§
§copied: boolTrue when a put actually executed against the destination.
False for dry_run and for IfExists::Skip when the
destination already had a value.
verified: boolTrue only when opts.verify was set and the readback matched.
Trait Implementations§
Source§impl Clone for CopyOutcome
impl Clone for CopyOutcome
Source§fn clone(&self) -> CopyOutcome
fn clone(&self) -> CopyOutcome
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 CopyOutcome
Source§impl Debug for CopyOutcome
impl Debug for CopyOutcome
impl Eq for CopyOutcome
Source§impl PartialEq for CopyOutcome
impl PartialEq for CopyOutcome
Source§fn eq(&self, other: &CopyOutcome) -> bool
fn eq(&self, other: &CopyOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CopyOutcome
Auto Trait Implementations§
impl Freeze for CopyOutcome
impl RefUnwindSafe for CopyOutcome
impl Send for CopyOutcome
impl Sync for CopyOutcome
impl Unpin for CopyOutcome
impl UnsafeUnpin for CopyOutcome
impl UnwindSafe for CopyOutcome
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.