pub struct ExecCommandApprovalParams {
pub approval_id: Option<String>,
pub call_id: String,
pub command: Vec<String>,
pub conversation_id: ThreadId,
pub cwd: String,
pub parsed_cmd: Vec<ParsedCommand>,
pub reason: Option<String>,
}Fields§
§approval_id: Option<String>§call_id: String§command: Vec<String>§conversation_id: ThreadId§cwd: String§parsed_cmd: Vec<ParsedCommand>§reason: Option<String>Trait Implementations§
Source§impl Clone for ExecCommandApprovalParams
impl Clone for ExecCommandApprovalParams
Source§fn clone(&self) -> ExecCommandApprovalParams
fn clone(&self) -> ExecCommandApprovalParams
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 ExecCommandApprovalParams
impl Debug for ExecCommandApprovalParams
Source§impl<'de> Deserialize<'de> for ExecCommandApprovalParams
impl<'de> Deserialize<'de> for ExecCommandApprovalParams
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 ExecCommandApprovalParams
impl PartialEq for ExecCommandApprovalParams
Source§fn eq(&self, other: &ExecCommandApprovalParams) -> bool
fn eq(&self, other: &ExecCommandApprovalParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecCommandApprovalParams
Auto Trait Implementations§
impl Freeze for ExecCommandApprovalParams
impl RefUnwindSafe for ExecCommandApprovalParams
impl Send for ExecCommandApprovalParams
impl Sync for ExecCommandApprovalParams
impl Unpin for ExecCommandApprovalParams
impl UnsafeUnpin for ExecCommandApprovalParams
impl UnwindSafe for ExecCommandApprovalParams
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