pub struct CodexSwitchStatus {
pub enabled: bool,
pub model_provider: Option<String>,
pub provider_name: Option<String>,
pub base_url: Option<String>,
pub patch_mode: Option<CodexPatchMode>,
pub requires_openai_auth: Option<bool>,
pub supports_websockets: Option<bool>,
pub remote_compaction_v2_enabled: bool,
pub has_switch_state: bool,
}Fields§
§enabled: boolWhether Codex currently appears to be configured to use the local codex-helper proxy.
model_provider: Option<String>Current model_provider value (if any).
provider_name: Option<String>Current model_providers.codex_proxy.name value (if any).
base_url: Option<String>Current model_providers.codex_proxy.base_url (if any).
patch_mode: Option<CodexPatchMode>Current codex-helper Codex preset inferred from model_providers.codex_proxy.
requires_openai_auth: Option<bool>Current model_providers.codex_proxy.requires_openai_auth value (if any).
supports_websockets: Option<bool>Current model_providers.codex_proxy.supports_websockets value (if any).
remote_compaction_v2_enabled: boolWhether [features].remote_compaction_v2 = true is present in Codex config.
has_switch_state: boolWhether original switch metadata exists for disabling the local proxy patch.
Trait Implementations§
Source§impl Clone for CodexSwitchStatus
impl Clone for CodexSwitchStatus
Source§fn clone(&self) -> CodexSwitchStatus
fn clone(&self) -> CodexSwitchStatus
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 moreAuto Trait Implementations§
impl Freeze for CodexSwitchStatus
impl RefUnwindSafe for CodexSwitchStatus
impl Send for CodexSwitchStatus
impl Sync for CodexSwitchStatus
impl Unpin for CodexSwitchStatus
impl UnsafeUnpin for CodexSwitchStatus
impl UnwindSafe for CodexSwitchStatus
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