pub struct OpenaiCodex;Expand description
OpenAI Codex / ChatGPT OAuth provider using the Responses API.
Trait Implementations§
Source§impl Provider for OpenaiCodex
impl Provider for OpenaiCodex
Source§fn kind(&self) -> ProviderKind
fn kind(&self) -> ProviderKind
Provider enum variant represented by this entry.
Source§fn display_name(&self) -> &'static str
fn display_name(&self) -> &'static str
Human-readable provider label for UIs and diagnostics.
Source§fn default_base_url(&self) -> &'static str
fn default_base_url(&self) -> &'static str
Default base URL used when no config/env/CLI override is present.
Source§fn default_model(&self) -> &'static str
fn default_model(&self) -> &'static str
Default model used when no config/env/CLI override is present.
Source§fn env_vars(&self) -> &'static [&'static str]
fn env_vars(&self) -> &'static [&'static str]
Environment variable candidates used for this provider’s API key.
Source§fn provider_config_key(&self) -> &'static str
fn provider_config_key(&self) -> &'static str
TOML table key under
[providers.<key>].Source§fn aliases(&self) -> &'static [&'static str]
fn aliases(&self) -> &'static [&'static str]
Alternate names accepted during provider resolution.
Source§fn wire(&self) -> WireFormat
fn wire(&self) -> WireFormat
Wire format used by the provider.
Auto Trait Implementations§
impl Freeze for OpenaiCodex
impl RefUnwindSafe for OpenaiCodex
impl Send for OpenaiCodex
impl Sync for OpenaiCodex
impl Unpin for OpenaiCodex
impl UnsafeUnpin for OpenaiCodex
impl UnwindSafe for OpenaiCodex
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