pub struct InlineHeaderContext {Show 20 fields
pub app_name: String,
pub provider: String,
pub model: String,
pub context_window_size: Option<usize>,
pub version: String,
pub search_tools: Option<InlineHeaderStatusBadge>,
pub persistent_memory: Option<InlineHeaderStatusBadge>,
pub pr_review: Option<InlineHeaderStatusBadge>,
pub editor_context: Option<String>,
pub git: String,
pub mode: String,
pub reasoning: String,
pub reasoning_stage: Option<String>,
pub workspace_trust: String,
pub tools: String,
pub mcp: String,
pub highlights: Vec<InlineHeaderHighlight>,
pub subagent_badges: Vec<InlineHeaderBadge>,
pub editing_mode: EditingMode,
pub autonomous_mode: bool,
}Expand description
Session metadata displayed in the inline header.
Fields§
§app_name: String§provider: String§model: String§context_window_size: Option<usize>§version: String§search_tools: Option<InlineHeaderStatusBadge>§persistent_memory: Option<InlineHeaderStatusBadge>§pr_review: Option<InlineHeaderStatusBadge>§editor_context: Option<String>§git: String§mode: String§reasoning: String§reasoning_stage: Option<String>§workspace_trust: String§tools: String§mcp: String§highlights: Vec<InlineHeaderHighlight>§subagent_badges: Vec<InlineHeaderBadge>§editing_mode: EditingModeCurrent editing mode for display in header.
autonomous_mode: boolCurrent autonomous mode status.
Trait Implementations§
Source§impl Clone for InlineHeaderContext
impl Clone for InlineHeaderContext
Source§fn clone(&self) -> InlineHeaderContext
fn clone(&self) -> InlineHeaderContext
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 InlineHeaderContext
impl Debug for InlineHeaderContext
Auto Trait Implementations§
impl Freeze for InlineHeaderContext
impl RefUnwindSafe for InlineHeaderContext
impl Send for InlineHeaderContext
impl Sync for InlineHeaderContext
impl Unpin for InlineHeaderContext
impl UnsafeUnpin for InlineHeaderContext
impl UnwindSafe for InlineHeaderContext
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