Struct distant_protocol::Change
source · pub struct Change {
pub timestamp: u64,
pub kind: ChangeKind,
pub path: PathBuf,
pub details: ChangeDetails,
}
Expand description
Change to a path on the filesystem.
Fields§
§timestamp: u64
Unix timestamp (in seconds) when the server was notified of this change (not when the change occurred)
kind: ChangeKind
Label describing the kind of change
path: PathBuf
Path that was changed
details: ChangeDetails
Additional details associated with the change
Trait Implementations§
source§impl<'de> Deserialize<'de> for Change
impl<'de> Deserialize<'de> for Change
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<Change> for Change
impl PartialEq<Change> for Change
impl Eq for Change
impl StructuralEq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin 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