pub struct FileRecord {Show 13 fields
pub clients: Vec<String>,
pub scope: Scope,
pub file: String,
pub outcome: ApplyOutcome,
pub create: u32,
pub update: u32,
pub remove: u32,
pub disable: u32,
pub written: bool,
pub backup: Option<String>,
pub old_values: bool,
pub backup_removed: bool,
pub error: Option<RecordedError>,
}Expand description
What one file got.
Fields§
§clients: Vec<String>§scope: Scope§file: StringAbsolute path on this machine (the journal is machine-local).
outcome: ApplyOutcome§create: u32§update: u32§remove: u32§disable: u32§written: boolWhether the file was written.
backup: Option<String>§old_values: boolThe backup holds a value an import moved to a secret (M35): the old value, which the client file no longer holds.
backup_removed: boolThe backup was removed on request because it held old secret values (M35): the file’s content from before this run is no longer kept.
error: Option<RecordedError>Trait Implementations§
Source§impl Clone for FileRecord
impl Clone for FileRecord
Source§impl Debug for FileRecord
impl Debug for FileRecord
Source§impl<'de> Deserialize<'de> for FileRecord
impl<'de> Deserialize<'de> for FileRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FileRecord
impl PartialEq for FileRecord
Source§impl Serialize for FileRecord
impl Serialize for FileRecord
impl StructuralPartialEq for FileRecord
Auto Trait Implementations§
impl Forget for FileRecord
impl Freeze for FileRecord
impl Move for FileRecord
impl RefUnwindSafe for FileRecord
impl Send for FileRecordwhere
RawVecInner: Send,
impl Sync for FileRecordwhere
RawVecInner: Sync,
impl Unpin for FileRecord
impl UnsafeUnpin for FileRecordwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for FileRecordwhere
RawVecInner: UnwindSafe,
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