pub struct InvocationRecord {
pub command: String,
pub subcommand: String,
pub raw_tokens: u64,
pub filtered_tokens: u64,
pub had_plugin: bool,
pub in_scope: bool,
pub reduced: 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: boolA plugin is registered for this command (regardless of subcommand scope).
in_scope: boolPlugin applies to this subcommand — i.e. matches its declared list, or plugin declares no subcommand restriction.
reduced: boolFilter actually shrank output (filtered_tokens < raw_tokens).
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