pub struct PermissionPromptRequestPath {
pub access_kind: PermissionPromptRequestPathAccessKind,
pub kind: PermissionPromptRequestPathKind,
pub paths: Vec<String>,
pub tool_call_id: Option<String>,
}Expand description
Path access permission prompt
Fields§
§access_kind: PermissionPromptRequestPathAccessKindUnderlying permission kind that needs path approval
kind: PermissionPromptRequestPathKindPrompt kind discriminator
paths: Vec<String>File paths that require explicit approval
tool_call_id: Option<String>Tool call ID that triggered this permission request
Trait Implementations§
Source§impl Clone for PermissionPromptRequestPath
impl Clone for PermissionPromptRequestPath
Source§fn clone(&self) -> PermissionPromptRequestPath
fn clone(&self) -> PermissionPromptRequestPath
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 PermissionPromptRequestPath
impl Debug for PermissionPromptRequestPath
Source§impl<'de> Deserialize<'de> for PermissionPromptRequestPath
impl<'de> Deserialize<'de> for PermissionPromptRequestPath
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 PermissionPromptRequestPath
impl RefUnwindSafe for PermissionPromptRequestPath
impl Send for PermissionPromptRequestPath
impl Sync for PermissionPromptRequestPath
impl Unpin for PermissionPromptRequestPath
impl UnsafeUnpin for PermissionPromptRequestPath
impl UnwindSafe for PermissionPromptRequestPath
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