pub struct LocalCommandOutcome {
pub kind: LocalCommandOutcomeKind,
pub suggestion: Option<String>,
}Expand description
What a local-command row reports, carried as
AssistantMessage::local_command_outcome so a host can offer a fix
instead of relaying the text (CLI 2.1.281+).
Fields§
§kind: LocalCommandOutcomeKind§suggestion: Option<String>Kind unknown only: the registered command closest to the typed
name, no slash.
Trait Implementations§
Source§impl Clone for LocalCommandOutcome
impl Clone for LocalCommandOutcome
Source§impl Debug for LocalCommandOutcome
impl Debug for LocalCommandOutcome
Source§impl<'de> Deserialize<'de> for LocalCommandOutcome
impl<'de> Deserialize<'de> for LocalCommandOutcome
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 Eq for LocalCommandOutcome
Source§impl PartialEq for LocalCommandOutcome
impl PartialEq for LocalCommandOutcome
Source§impl Serialize for LocalCommandOutcome
impl Serialize for LocalCommandOutcome
impl StructuralPartialEq for LocalCommandOutcome
Auto Trait Implementations§
impl Freeze for LocalCommandOutcome
impl RefUnwindSafe for LocalCommandOutcome
impl Send for LocalCommandOutcome
impl Sync for LocalCommandOutcome
impl Unpin for LocalCommandOutcome
impl UnsafeUnpin for LocalCommandOutcome
impl UnwindSafe for LocalCommandOutcome
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