pub struct TokensArgs {
pub json: bool,
pub raw_table: bool,
pub profile: Option<String>,
pub hooks: bool,
}Expand description
v0.6.4-004 — Args for ai-memory doctor --tokens. Routes to
run_tokens instead of the regular health pass.
Fields§
§json: boolEmit structured JSON instead of human-readable.
raw_table: boolDump the full per-tool size table (implies json).
profile: Option<String>Hypothetical profile to evaluate (defaults to core —
the v0.6.4 default).
hooks: boolv0.7-G3 — also append the hook-executor metrics block.
Operators running --tokens --hooks see both surfaces in
one pass.
Trait Implementations§
Source§impl Debug for TokensArgs
impl Debug for TokensArgs
Source§impl Default for TokensArgs
impl Default for TokensArgs
Source§fn default() -> TokensArgs
fn default() -> TokensArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TokensArgs
impl RefUnwindSafe for TokensArgs
impl Send for TokensArgs
impl Sync for TokensArgs
impl Unpin for TokensArgs
impl UnsafeUnpin for TokensArgs
impl UnwindSafe for TokensArgs
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more