pub enum GuardianApprovalReviewAction {
Command {
command: String,
cwd: AbsolutePathBuf,
source: GuardianCommandSource,
},
Execve {
argv: Vec<String>,
cwd: AbsolutePathBuf,
program: String,
source: GuardianCommandSource,
},
ApplyPatch {
cwd: AbsolutePathBuf,
files: Vec<AbsolutePathBuf>,
},
NetworkAccess {
host: String,
port: i64,
protocol: NetworkApprovalProtocol,
target: String,
},
McpToolCall {
connector_id: Option<String>,
connector_name: Option<String>,
server: String,
tool_name: String,
tool_title: Option<String>,
},
RequestPermissions {
permissions: RequestPermissionProfile,
reason: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for GuardianApprovalReviewAction
impl Clone for GuardianApprovalReviewAction
Source§fn clone(&self) -> GuardianApprovalReviewAction
fn clone(&self) -> GuardianApprovalReviewAction
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 GuardianApprovalReviewAction
impl Debug for GuardianApprovalReviewAction
Source§impl<'de> Deserialize<'de> for GuardianApprovalReviewAction
impl<'de> Deserialize<'de> for GuardianApprovalReviewAction
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
Source§impl PartialEq for GuardianApprovalReviewAction
impl PartialEq for GuardianApprovalReviewAction
Source§fn eq(&self, other: &GuardianApprovalReviewAction) -> bool
fn eq(&self, other: &GuardianApprovalReviewAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GuardianApprovalReviewAction
Auto Trait Implementations§
impl Freeze for GuardianApprovalReviewAction
impl RefUnwindSafe for GuardianApprovalReviewAction
impl Send for GuardianApprovalReviewAction
impl Sync for GuardianApprovalReviewAction
impl Unpin for GuardianApprovalReviewAction
impl UnsafeUnpin for GuardianApprovalReviewAction
impl UnwindSafe for GuardianApprovalReviewAction
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