pub struct ManagedFileRelocationSpecV1 {
pub previous_destination: PathBuf,
pub previous_backup: Option<ManagedFileRelocationBackupV1>,
pub desired_destination: PathBuf,
pub previous_present: bool,
pub previous_mode: Option<u32>,
pub previous_hash: u64,
pub desired_hash: u64,
pub previous_uses_env: bool,
pub desired_uses_env: bool,
pub previous_requires_admin: bool,
pub desired_requires_admin: bool,
}Fields§
§previous_destination: PathBuf§previous_backup: Option<ManagedFileRelocationBackupV1>§desired_destination: PathBuf§previous_present: bool§previous_mode: Option<u32>§previous_hash: u64§desired_hash: u64§previous_uses_env: bool§desired_uses_env: bool§previous_requires_admin: bool§desired_requires_admin: boolTrait Implementations§
Source§impl Clone for ManagedFileRelocationSpecV1
impl Clone for ManagedFileRelocationSpecV1
Source§fn clone(&self) -> ManagedFileRelocationSpecV1
fn clone(&self) -> ManagedFileRelocationSpecV1
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 ManagedFileRelocationSpecV1
impl Debug for ManagedFileRelocationSpecV1
impl Eq for ManagedFileRelocationSpecV1
impl StructuralPartialEq for ManagedFileRelocationSpecV1
Auto Trait Implementations§
impl Freeze for ManagedFileRelocationSpecV1
impl RefUnwindSafe for ManagedFileRelocationSpecV1
impl Send for ManagedFileRelocationSpecV1
impl Sync for ManagedFileRelocationSpecV1
impl Unpin for ManagedFileRelocationSpecV1
impl UnsafeUnpin for ManagedFileRelocationSpecV1
impl UnwindSafe for ManagedFileRelocationSpecV1
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.