pub struct LocalCommandRun {
pub command: String,
pub args: 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).
Trait Implementations§
Source§impl Clone for LocalCommandRun
impl Clone for LocalCommandRun
Source§fn clone(&self) -> LocalCommandRun
fn clone(&self) -> LocalCommandRun
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 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