pub struct BashExecutionMessage {
pub command: String,
pub output: String,
pub exit_code: Option<i64>,
pub cancelled: bool,
pub truncated: bool,
pub full_output_path: Option<String>,
pub timestamp: u64,
pub exclude_from_context: Option<bool>,
}Expand description
Output of a user !command.
Fields§
§command: String§output: String§exit_code: Option<i64>Absent when the command was cancelled.
cancelled: bool§truncated: bool§full_output_path: Option<String>§timestamp: u64Unix time in milliseconds.
exclude_from_context: Option<bool>Set for !!command: shown to the user, not sent to the model.
Trait Implementations§
Source§impl Clone for BashExecutionMessage
impl Clone for BashExecutionMessage
Source§impl Debug for BashExecutionMessage
impl Debug for BashExecutionMessage
Source§impl<'de> Deserialize<'de> for BashExecutionMessage
impl<'de> Deserialize<'de> for BashExecutionMessage
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 BashExecutionMessage
impl PartialEq for BashExecutionMessage
Source§impl Serialize for BashExecutionMessage
impl Serialize for BashExecutionMessage
impl StructuralPartialEq for BashExecutionMessage
Auto Trait Implementations§
impl Freeze for BashExecutionMessage
impl RefUnwindSafe for BashExecutionMessage
impl Send for BashExecutionMessage
impl Sync for BashExecutionMessage
impl Unpin for BashExecutionMessage
impl UnsafeUnpin for BashExecutionMessage
impl UnwindSafe for BashExecutionMessage
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