pub struct ManagedFileCreationWithBackupSpecV1 {
pub destination: PathBuf,
pub backup: PathBuf,
pub original_hash: u64,
pub desired_hash: u64,
pub requires_admin: bool,
}Fields§
§destination: PathBuf§backup: PathBuf§original_hash: u64§desired_hash: u64§requires_admin: boolTrait Implementations§
Source§impl Clone for ManagedFileCreationWithBackupSpecV1
impl Clone for ManagedFileCreationWithBackupSpecV1
Source§fn clone(&self) -> ManagedFileCreationWithBackupSpecV1
fn clone(&self) -> ManagedFileCreationWithBackupSpecV1
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 Eq for ManagedFileCreationWithBackupSpecV1
impl StructuralPartialEq for ManagedFileCreationWithBackupSpecV1
Auto Trait Implementations§
impl Freeze for ManagedFileCreationWithBackupSpecV1
impl RefUnwindSafe for ManagedFileCreationWithBackupSpecV1
impl Send for ManagedFileCreationWithBackupSpecV1
impl Sync for ManagedFileCreationWithBackupSpecV1
impl Unpin for ManagedFileCreationWithBackupSpecV1
impl UnsafeUnpin for ManagedFileCreationWithBackupSpecV1
impl UnwindSafe for ManagedFileCreationWithBackupSpecV1
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§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.