pub struct ExecCommandBeginEvent {
pub call_id: String,
pub command: Vec<String>,
pub cwd: PathBuf,
pub parsed_cmd: Vec<ParsedCommand>,
}
Fields§
§call_id: String
Identifier so this can be paired with the ExecCommandEnd event.
command: Vec<String>
The command to be executed.
cwd: PathBuf
The command’s working directory if not the default cwd for the agent.
parsed_cmd: Vec<ParsedCommand>
Trait Implementations§
Source§impl Clone for ExecCommandBeginEvent
impl Clone for ExecCommandBeginEvent
Source§fn clone(&self) -> ExecCommandBeginEvent
fn clone(&self) -> ExecCommandBeginEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 ExecCommandBeginEvent
impl Debug for ExecCommandBeginEvent
Source§impl<'de> Deserialize<'de> for ExecCommandBeginEvent
impl<'de> Deserialize<'de> for ExecCommandBeginEvent
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 ExecCommandBeginEvent
impl RefUnwindSafe for ExecCommandBeginEvent
impl Send for ExecCommandBeginEvent
impl Sync for ExecCommandBeginEvent
impl Unpin for ExecCommandBeginEvent
impl UnwindSafe for ExecCommandBeginEvent
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