pub struct FileAccess {
pub session_id: String,
pub timestamp: DateTime<Utc>,
pub path: String,
pub operation: FileOperation,
pub line_range: Option<(u64, u64)>,
}Expand description
A file access event extracted from tool calls
Fields§
§session_id: String§timestamp: DateTime<Utc>§path: String§operation: FileOperation§line_range: Option<(u64, u64)>Line range for Read operations: (offset, offset + limit)
Trait Implementations§
Source§impl Clone for FileAccess
impl Clone for FileAccess
Source§fn clone(&self) -> FileAccess
fn clone(&self) -> FileAccess
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 FileAccess
impl Debug for FileAccess
Source§impl<'de> Deserialize<'de> for FileAccess
impl<'de> Deserialize<'de> for FileAccess
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
Auto Trait Implementations§
impl Freeze for FileAccess
impl RefUnwindSafe for FileAccess
impl Send for FileAccess
impl Sync for FileAccess
impl Unpin for FileAccess
impl UnsafeUnpin for FileAccess
impl UnwindSafe for FileAccess
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