pub struct CommandExecutionRequestApprovalParams {
pub approval_id: Option<String>,
pub command: Option<String>,
pub command_actions: Option<Vec<CommandAction>>,
pub cwd: Option<AbsolutePathBuf>,
pub item_id: String,
pub network_approval_context: Option<NetworkApprovalContext>,
pub proposed_execpolicy_amendment: Option<Vec<String>>,
pub proposed_network_policy_amendments: Option<Vec<NetworkPolicyAmendment>>,
pub reason: Option<String>,
pub started_at_ms: i64,
pub thread_id: String,
pub turn_id: String,
}Fields§
§approval_id: Option<String>§command: Option<String>§command_actions: Option<Vec<CommandAction>>§cwd: Option<AbsolutePathBuf>§item_id: String§network_approval_context: Option<NetworkApprovalContext>§proposed_execpolicy_amendment: Option<Vec<String>>§proposed_network_policy_amendments: Option<Vec<NetworkPolicyAmendment>>§reason: Option<String>§started_at_ms: i64§thread_id: String§turn_id: StringTrait Implementations§
Source§impl Clone for CommandExecutionRequestApprovalParams
impl Clone for CommandExecutionRequestApprovalParams
Source§fn clone(&self) -> CommandExecutionRequestApprovalParams
fn clone(&self) -> CommandExecutionRequestApprovalParams
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<'de> Deserialize<'de> for CommandExecutionRequestApprovalParams
impl<'de> Deserialize<'de> for CommandExecutionRequestApprovalParams
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 CommandExecutionRequestApprovalParams
impl PartialEq for CommandExecutionRequestApprovalParams
Source§fn eq(&self, other: &CommandExecutionRequestApprovalParams) -> bool
fn eq(&self, other: &CommandExecutionRequestApprovalParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommandExecutionRequestApprovalParams
Auto Trait Implementations§
impl Freeze for CommandExecutionRequestApprovalParams
impl RefUnwindSafe for CommandExecutionRequestApprovalParams
impl Send for CommandExecutionRequestApprovalParams
impl Sync for CommandExecutionRequestApprovalParams
impl Unpin for CommandExecutionRequestApprovalParams
impl UnsafeUnpin for CommandExecutionRequestApprovalParams
impl UnwindSafe for CommandExecutionRequestApprovalParams
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