pub enum SpeedMode {
Normal,
Fast,
}Expand description
Response-speed preference applied to one agent session.
Variants§
Normal
Use the provider’s standard routing and pricing.
Fast
Request the provider’s higher-cost low-latency routing.
Implementations§
Source§impl SpeedMode
impl SpeedMode
Sourcepub const fn description(self) -> &'static str
pub const fn description(self) -> &'static str
User-visible explanation of this speed mode.
Sourcepub const fn codex_service_tier(self) -> &'static str
pub const fn codex_service_tier(self) -> &'static str
Codex app-server service-tier value for this speed mode.
Sourcepub const fn claude_fast_mode(self) -> bool
pub const fn claude_fast_mode(self) -> bool
Whether Claude Code should enable its fastMode setting.
Trait Implementations§
impl Copy for SpeedMode
impl Eq for SpeedMode
impl StructuralPartialEq for SpeedMode
Auto Trait Implementations§
impl Freeze for SpeedMode
impl RefUnwindSafe for SpeedMode
impl Send for SpeedMode
impl Sync for SpeedMode
impl Unpin for SpeedMode
impl UnsafeUnpin for SpeedMode
impl UnwindSafe for SpeedMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.