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 copy 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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more