pub struct ConfigRecord {
pub path: String,
pub original_hash: [u8; 32],
pub is_user_modified: bool,
}Expand description
Record of a tracked configuration file
Fields§
§path: StringAbsolute path of the configuration file
original_hash: [u8; 32]SHA-256 hash at install time
is_user_modified: boolWhether the user has modified this file since install
Trait Implementations§
Source§impl Clone for ConfigRecord
impl Clone for ConfigRecord
Source§fn clone(&self) -> ConfigRecord
fn clone(&self) -> ConfigRecord
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConfigRecord
impl RefUnwindSafe for ConfigRecord
impl Send for ConfigRecord
impl Sync for ConfigRecord
impl Unpin for ConfigRecord
impl UnwindSafe for ConfigRecord
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)