pub struct FileEvent {
pub schema_version: u32,
pub session: SessionKey,
pub timestamp: i64,
pub cwd: PathBuf,
pub path: PathBuf,
pub previous_path: Option<PathBuf>,
pub operation: Operation,
pub source: Source,
pub outcome: Outcome,
pub tool_call_id: Option<String>,
pub concurrent: Vec<SessionKey>,
}Expand description
A metadata-only observation. Renames use path for the destination and
previous_path for the source. Unknown outcomes are never promoted by a scan.
Fields§
§schema_version: u32§session: SessionKey§timestamp: i64§cwd: PathBuf§path: PathBuf§previous_path: Option<PathBuf>§operation: Operation§source: Source§outcome: Outcome§tool_call_id: Option<String>§concurrent: Vec<SessionKey>Other sessions that were working where a scan observed this file, so the filesystem cannot tell which of them changed it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileEvent
impl<'de> Deserialize<'de> for FileEvent
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
impl Eq for FileEvent
impl StructuralPartialEq for FileEvent
Auto Trait Implementations§
impl Freeze for FileEvent
impl RefUnwindSafe for FileEvent
impl Send for FileEvent
impl Sync for FileEvent
impl Unpin for FileEvent
impl UnsafeUnpin for FileEvent
impl UnwindSafe for FileEvent
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