pub struct LocalCommandRun {
pub command: String,
pub args: String,
pub plugin: Option<String>,
}Expand description
The run that printed a local-command row, carried as
AssistantMessage::local_command_run.
Fields§
§command: StringThe command’s name as command.run carried it (no slash).
args: StringIts arguments as the echo shows them (*** when the command marks
them sensitive).
plugin: Option<String>For a command a plugin registered, that plugin’s name; for a row
whose text plugins’ command.run hooks answered or retold, the names
the text is led by. Untrusted text; absent for the binary’s own
command in its own words (CLI 2.1.300+).
Trait Implementations§
Source§impl Clone for LocalCommandRun
impl Clone for LocalCommandRun
Source§impl Debug for LocalCommandRun
impl Debug for LocalCommandRun
Source§impl<'de> Deserialize<'de> for LocalCommandRun
impl<'de> Deserialize<'de> for LocalCommandRun
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 LocalCommandRun
impl PartialEq for LocalCommandRun
Source§impl Serialize for LocalCommandRun
impl Serialize for LocalCommandRun
impl StructuralPartialEq for LocalCommandRun
Auto Trait Implementations§
impl Freeze for LocalCommandRun
impl RefUnwindSafe for LocalCommandRun
impl Send for LocalCommandRun
impl Sync for LocalCommandRun
impl Unpin for LocalCommandRun
impl UnsafeUnpin for LocalCommandRun
impl UnwindSafe for LocalCommandRun
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