pub struct InvocationRecord {
pub command: String,
pub subcommand: String,
pub raw_tokens: u64,
pub filtered_tokens: u64,
pub had_plugin: bool,
pub exit_code: i32,
}Expand description
A single invocation record for the usage-history table.
Fields§
§command: String§subcommand: String§raw_tokens: u64§filtered_tokens: u64§had_plugin: bool§exit_code: i32Auto Trait Implementations§
impl Freeze for InvocationRecord
impl RefUnwindSafe for InvocationRecord
impl Send for InvocationRecord
impl Sync for InvocationRecord
impl Unpin for InvocationRecord
impl UnsafeUnpin for InvocationRecord
impl UnwindSafe for InvocationRecord
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