pub struct OpenAiCompatibleEmbedderConfig {
pub base_url: String,
pub model: String,
pub api_key: Option<String>,
}Fields§
§base_url: String§model: String§api_key: Option<String>Trait Implementations§
Source§impl Clone for OpenAiCompatibleEmbedderConfig
impl Clone for OpenAiCompatibleEmbedderConfig
Source§fn clone(&self) -> OpenAiCompatibleEmbedderConfig
fn clone(&self) -> OpenAiCompatibleEmbedderConfig
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 PartialEq for OpenAiCompatibleEmbedderConfig
impl PartialEq for OpenAiCompatibleEmbedderConfig
Source§fn eq(&self, other: &OpenAiCompatibleEmbedderConfig) -> bool
fn eq(&self, other: &OpenAiCompatibleEmbedderConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OpenAiCompatibleEmbedderConfig
impl StructuralPartialEq for OpenAiCompatibleEmbedderConfig
Auto Trait Implementations§
impl Freeze for OpenAiCompatibleEmbedderConfig
impl RefUnwindSafe for OpenAiCompatibleEmbedderConfig
impl Send for OpenAiCompatibleEmbedderConfig
impl Sync for OpenAiCompatibleEmbedderConfig
impl Unpin for OpenAiCompatibleEmbedderConfig
impl UnsafeUnpin for OpenAiCompatibleEmbedderConfig
impl UnwindSafe for OpenAiCompatibleEmbedderConfig
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