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