pub struct ToolPath {
pub path: String,
pub access: String,
pub previous_path: Option<String>,
}Fields§
§path: StringPath as recorded by the native agent. Consumers resolve relative paths against the session cwd and must reject paths outside their scope.
access: StringOne of read, write, create, delete, rename_from, or rename.
previous_path: Option<String>Source path for a rename. Kept on the destination so one tool event can carry several independent rename pairs without positional guessing.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolPath
impl<'de> Deserialize<'de> for ToolPath
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 ToolPath
impl StructuralPartialEq for ToolPath
Auto Trait Implementations§
impl Freeze for ToolPath
impl RefUnwindSafe for ToolPath
impl Send for ToolPath
impl Sync for ToolPath
impl Unpin for ToolPath
impl UnsafeUnpin for ToolPath
impl UnwindSafe for ToolPath
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