pub struct CommandExecutionRequestApprovalParams {Show 14 fields
pub approval_id: Option<String>,
pub command: Option<String>,
pub command_actions: Option<Vec<CommandAction>>,
pub cwd: Option<LegacyAppPathString>,
pub environment_id: Option<String>,
pub item_id: String,
pub kind: Option<CommandExecutionApprovalKind>,
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<LegacyAppPathString>§environment_id: Option<String>§item_id: String§kind: Option<CommandExecutionApprovalKind>Kind of action under review; defaults to command on older servers.
writeStdin marks input to an existing terminal (0.148 upstream).
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<'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
impl StructuralPartialEq for CommandExecutionRequestApprovalParams
Auto Trait Implementations§
impl Forget for CommandExecutionRequestApprovalParams
impl Freeze for CommandExecutionRequestApprovalParams
impl Move 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