pub struct Event {
pub cause: DfsCause,
pub operation: Option<FileSystemOperation>,
pub operation_path: Option<String>,
pub backend_type: Option<String>,
}
Fields§
§cause: DfsCause
§operation: Option<FileSystemOperation>
§operation_path: Option<String>
§backend_type: Option<String>
Implementations§
source§impl Event
impl Event
pub fn get_cause(&self) -> DfsCause
pub fn get_operation(&self) -> Option<FileSystemOperation>
pub fn get_operation_path(&self) -> Option<String>
pub fn get_backend_type(&self) -> Option<String>
Trait Implementations§
source§impl PartialEq<Event> for Event
impl PartialEq<Event> for Event
impl Eq for Event
impl StructuralEq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.