pub enum TrackedFileChange {
Created(SecretPath, ExternalFileName),
Moved {
name: ExternalFileName,
from: SecretPath,
dest: SecretPath,
},
Deleted(SecretPath, ExternalFileName),
}Available on crate feature
files only.Expand description
Change made to file event logs.
Variants§
Created(SecretPath, ExternalFileName)
File was created in the log.
Moved
File was moved in the log.
Fields
§
name: ExternalFileNameFile name.
§
from: SecretPathFrom identifiers.
§
dest: SecretPathDestination identifiers.
Deleted(SecretPath, ExternalFileName)
File was deleted in the log.
Trait Implementations§
Source§impl Clone for TrackedFileChange
impl Clone for TrackedFileChange
Source§fn clone(&self) -> TrackedFileChange
fn clone(&self) -> TrackedFileChange
Returns a duplicate of the value. Read more
1.0.0 · 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 TrackedFileChange
impl Debug for TrackedFileChange
Source§impl Hash for TrackedFileChange
impl Hash for TrackedFileChange
Source§impl PartialEq for TrackedFileChange
impl PartialEq for TrackedFileChange
impl Eq for TrackedFileChange
impl StructuralPartialEq for TrackedFileChange
Auto Trait Implementations§
impl Freeze for TrackedFileChange
impl RefUnwindSafe for TrackedFileChange
impl Send for TrackedFileChange
impl Sync for TrackedFileChange
impl Unpin for TrackedFileChange
impl UnwindSafe for TrackedFileChange
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.