pub struct OpenaiProvider {
pub endpoint: String,
pub api_key: Option<String>,
pub max_retries: u32,
pub retry_delay_ms: u64,
}Expand description
OpenAI provider
Fields§
§endpoint: String§api_key: Option<String>§max_retries: u32§retry_delay_ms: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenaiProvider
impl RefUnwindSafe for OpenaiProvider
impl Send for OpenaiProvider
impl Sync for OpenaiProvider
impl Unpin for OpenaiProvider
impl UnwindSafe for OpenaiProvider
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