pub struct ClaudeSwitchStatus {
pub enabled: bool,
pub base_url: Option<String>,
pub has_backup: bool,
pub settings_path: PathBuf,
}Fields§
§enabled: boolWhether Claude Code currently appears to be configured to use the local codex-helper proxy.
base_url: Option<String>Current env.ANTHROPIC_BASE_URL value (if any).
has_backup: boolWhether a backup file exists for safe restore.
settings_path: PathBufThe resolved settings file path (settings.json or legacy claude.json).
Trait Implementations§
Source§impl Clone for ClaudeSwitchStatus
impl Clone for ClaudeSwitchStatus
Source§fn clone(&self) -> ClaudeSwitchStatus
fn clone(&self) -> ClaudeSwitchStatus
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 moreAuto Trait Implementations§
impl Freeze for ClaudeSwitchStatus
impl RefUnwindSafe for ClaudeSwitchStatus
impl Send for ClaudeSwitchStatus
impl Sync for ClaudeSwitchStatus
impl Unpin for ClaudeSwitchStatus
impl UnwindSafe for ClaudeSwitchStatus
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