pub struct Change {
pub agent: Agent,
pub file: PathBuf,
pub action: &'static str,
pub backup: Option<PathBuf>,
}Expand description
One change: which agent, which file, and what happened.
Fields§
§agent: Agent§file: PathBuf§action: &'static stradded, updated, unchanged, removed or absent.
backup: Option<PathBuf>The copy of the file as it was, when an existing file was changed.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Change
impl Freeze for Change
impl Move for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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