pub struct WatchEventNotification {
pub repo_path: PathBuf,
pub path: PathBuf,
pub kind: WatchEventKind,
}Expand description
A filesystem event observed for a registered repository.
Fields§
§repo_path: PathBuf§path: PathBuf§kind: WatchEventKindTrait Implementations§
Source§impl Clone for WatchEventNotification
impl Clone for WatchEventNotification
Source§fn clone(&self) -> WatchEventNotification
fn clone(&self) -> WatchEventNotification
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 WatchEventNotification
impl Debug for WatchEventNotification
Source§impl<'de> Deserialize<'de> for WatchEventNotification
impl<'de> Deserialize<'de> for WatchEventNotification
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 WatchEventNotification
impl PartialEq for WatchEventNotification
Source§impl Serialize for WatchEventNotification
impl Serialize for WatchEventNotification
impl Eq for WatchEventNotification
impl StructuralPartialEq for WatchEventNotification
Auto Trait Implementations§
impl Freeze for WatchEventNotification
impl RefUnwindSafe for WatchEventNotification
impl Send for WatchEventNotification
impl Sync for WatchEventNotification
impl Unpin for WatchEventNotification
impl UnwindSafe for WatchEventNotification
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