pub struct CodexProvider { /* private fields */ }Expand description
Codex provider configuration loaded from the local configuration database.
Implementations§
Source§impl CodexProvider
impl CodexProvider
Sourcepub fn auth_json(&self) -> &str
pub fn auth_json(&self) -> &str
Return the provider auth JSON payload.
§Returns
The provider auth JSON payload as a borrowed string slice.
Sourcepub fn config_toml(&self) -> &str
pub fn config_toml(&self) -> &str
Return the provider config TOML payload.
§Returns
The provider config TOML payload as a borrowed string slice.
Trait Implementations§
Source§impl Clone for CodexProvider
impl Clone for CodexProvider
Source§fn clone(&self) -> CodexProvider
fn clone(&self) -> CodexProvider
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 moreSource§impl Debug for CodexProvider
impl Debug for CodexProvider
impl Eq for CodexProvider
Source§impl PartialEq for CodexProvider
impl PartialEq for CodexProvider
Source§fn eq(&self, other: &CodexProvider) -> bool
fn eq(&self, other: &CodexProvider) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodexProvider
Auto Trait Implementations§
impl Freeze for CodexProvider
impl RefUnwindSafe for CodexProvider
impl Send for CodexProvider
impl Sync for CodexProvider
impl Unpin for CodexProvider
impl UnsafeUnpin for CodexProvider
impl UnwindSafe for CodexProvider
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§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.