pub struct StatusInfo {Show 20 fields
pub cwd: String,
pub session_name: String,
pub model: String,
pub thinking: String,
pub input_tokens: u32,
pub output_tokens: u32,
pub current_context_tokens: u32,
pub cost: f64,
pub context_percent: f64,
pub context_window: u32,
pub show_cost: bool,
pub show_context_usage: bool,
pub peek: bool,
pub extension_items: HashMap<String, String>,
pub is_streaming: bool,
pub active_tools: u32,
pub turn_elapsed: Option<Duration>,
pub tick: u64,
pub animation_level: AnimationLevel,
pub activity_state: AnimationState,
}Expand description
Information displayed in the status bar.
Fields§
§cwd: String§session_name: String§model: String§thinking: String§input_tokens: u32§output_tokens: u32§current_context_tokens: u32§cost: f64§context_percent: f64§context_window: u32§show_cost: bool§show_context_usage: bool§peek: bool§extension_items: HashMap<String, String>§is_streaming: bool§active_tools: u32§turn_elapsed: Option<Duration>§tick: u64§animation_level: AnimationLevel§activity_state: AnimationStateTrait Implementations§
Source§impl Clone for StatusInfo
impl Clone for StatusInfo
Source§fn clone(&self) -> StatusInfo
fn clone(&self) -> StatusInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StatusInfo
impl Debug for StatusInfo
Source§impl Default for StatusInfo
impl Default for StatusInfo
Source§fn default() -> StatusInfo
fn default() -> StatusInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatusInfo
impl RefUnwindSafe for StatusInfo
impl Send for StatusInfo
impl Sync for StatusInfo
impl Unpin for StatusInfo
impl UnsafeUnpin for StatusInfo
impl UnwindSafe for StatusInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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