pub struct OpenAiEmbeddingsConfig {
pub api_key: String,
pub model: String,
pub base_url: String,
}Fields§
§api_key: String§model: String§base_url: StringImplementations§
Auto Trait Implementations§
impl Freeze for OpenAiEmbeddingsConfig
impl RefUnwindSafe for OpenAiEmbeddingsConfig
impl Send for OpenAiEmbeddingsConfig
impl Sync for OpenAiEmbeddingsConfig
impl Unpin for OpenAiEmbeddingsConfig
impl UnsafeUnpin for OpenAiEmbeddingsConfig
impl UnwindSafe for OpenAiEmbeddingsConfig
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