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 git: String,
pub reasoning: String,
pub reasoning_stage: Option<String>,
pub service_tier: Option<String>,
pub computer_use: Option<String>,
pub workspace_trust: String,
pub tools: String,
pub mcp: String,
pub primary_agent: Option<String>,
pub primary_agent_color: Option<String>,
pub highlights: Vec<InlineHeaderHighlight>,
pub subagent_badges: Vec<InlineHeaderBadge>,
}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>§git: String§reasoning: String§reasoning_stage: Option<String>§service_tier: Option<String>Configured native OpenAI service_tier (Tier: <name>), when set.
Rendered in the header summary only when present; None hides it.
computer_use: Option<String>Computer-use master switch (Computer use: on), when enabled.
Rendered as a premium header badge only when present; None hides
it. Mirrors the switch, not target/provider readiness: turns still
fail closed until a target is set on a supporting provider.
workspace_trust: String§tools: String§mcp: String§primary_agent: Option<String>§primary_agent_color: Option<String>§highlights: Vec<InlineHeaderHighlight>§subagent_badges: Vec<InlineHeaderBadge>Trait Implementations§
Source§impl Clone for InlineHeaderContext
impl Clone for InlineHeaderContext
Source§impl Debug for InlineHeaderContext
impl Debug for InlineHeaderContext
Auto Trait Implementations§
impl Forget for InlineHeaderContext
impl Freeze for InlineHeaderContextwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<InlineHeaderHighlight>: Freeze,
PhantomData<InlineHeaderBadge>: Freeze,
impl Move for InlineHeaderContext
impl RefUnwindSafe for InlineHeaderContext
impl Send for InlineHeaderContextwhere
RawVecInner: Send,
impl Sync for InlineHeaderContextwhere
RawVecInner: Sync,
impl Unpin for InlineHeaderContext
impl UnsafeUnpin for InlineHeaderContextwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<InlineHeaderHighlight>: UnsafeUnpin,
PhantomData<InlineHeaderBadge>: UnsafeUnpin,
impl UnwindSafe for InlineHeaderContextwhere
RawVecInner: UnwindSafe,
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