pub struct OpenAiCompatConfig {
pub provider_name: &'static str,
pub api_key_env: &'static str,
pub base_url_env: &'static str,
pub default_base_url: &'static str,
}Fields§
§provider_name: &'static str§api_key_env: &'static str§base_url_env: &'static str§default_base_url: &'static strImplementations§
Trait Implementations§
Source§impl Clone for OpenAiCompatConfig
impl Clone for OpenAiCompatConfig
Source§fn clone(&self) -> OpenAiCompatConfig
fn clone(&self) -> OpenAiCompatConfig
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 moreSource§impl Debug for OpenAiCompatConfig
impl Debug for OpenAiCompatConfig
Source§impl PartialEq for OpenAiCompatConfig
impl PartialEq for OpenAiCompatConfig
impl Copy for OpenAiCompatConfig
impl Eq for OpenAiCompatConfig
impl StructuralPartialEq for OpenAiCompatConfig
Auto Trait Implementations§
impl Freeze for OpenAiCompatConfig
impl RefUnwindSafe for OpenAiCompatConfig
impl Send for OpenAiCompatConfig
impl Sync for OpenAiCompatConfig
impl Unpin for OpenAiCompatConfig
impl UnsafeUnpin for OpenAiCompatConfig
impl UnwindSafe for OpenAiCompatConfig
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