pub struct PermissionRequestRead {
pub intention: String,
pub kind: PermissionRequestReadKind,
pub path: String,
pub tool_call_id: Option<String>,
}Expand description
File or directory read permission request
Fields§
§intention: StringHuman-readable description of why the file is being read
kind: PermissionRequestReadKindPermission kind discriminator
path: StringPath of the file or directory being read
tool_call_id: Option<String>Tool call ID that triggered this permission request
Trait Implementations§
Source§impl Clone for PermissionRequestRead
impl Clone for PermissionRequestRead
Source§fn clone(&self) -> PermissionRequestRead
fn clone(&self) -> PermissionRequestRead
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PermissionRequestRead
impl Debug for PermissionRequestRead
Source§impl<'de> Deserialize<'de> for PermissionRequestRead
impl<'de> Deserialize<'de> for PermissionRequestRead
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 PermissionRequestRead
impl RefUnwindSafe for PermissionRequestRead
impl Send for PermissionRequestRead
impl Sync for PermissionRequestRead
impl Unpin for PermissionRequestRead
impl UnsafeUnpin for PermissionRequestRead
impl UnwindSafe for PermissionRequestRead
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