pub struct BashCommand {
pub session_id: String,
pub timestamp: DateTime<Utc>,
pub command: String,
pub is_destructive: bool,
pub output_preview: String,
}Expand description
A bash command execution event
Fields§
§session_id: String§timestamp: DateTime<Utc>§command: String§is_destructive: bool§output_preview: StringPreview of command output (first 500 chars)
Trait Implementations§
Source§impl Clone for BashCommand
impl Clone for BashCommand
Source§fn clone(&self) -> BashCommand
fn clone(&self) -> BashCommand
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 BashCommand
impl Debug for BashCommand
Source§impl<'de> Deserialize<'de> for BashCommand
impl<'de> Deserialize<'de> for BashCommand
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 BashCommand
impl RefUnwindSafe for BashCommand
impl Send for BashCommand
impl Sync for BashCommand
impl Unpin for BashCommand
impl UnsafeUnpin for BashCommand
impl UnwindSafe for BashCommand
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