pub struct CliEmbeddingProviderSpec {
pub id: &'static str,
pub provider: &'static str,
pub request_style: &'static str,
pub default_url: String,
pub default_model: &'static str,
pub auth: &'static str,
pub key_field: &'static str,
}Fields§
§id: &'static str§provider: &'static str§request_style: &'static str§default_url: String§default_model: &'static str§auth: &'static str§key_field: &'static strTrait Implementations§
Source§impl Clone for CliEmbeddingProviderSpec
impl Clone for CliEmbeddingProviderSpec
Source§fn clone(&self) -> CliEmbeddingProviderSpec
fn clone(&self) -> CliEmbeddingProviderSpec
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 CliEmbeddingProviderSpec
impl Debug for CliEmbeddingProviderSpec
Source§impl PartialEq for CliEmbeddingProviderSpec
impl PartialEq for CliEmbeddingProviderSpec
Source§fn eq(&self, other: &CliEmbeddingProviderSpec) -> bool
fn eq(&self, other: &CliEmbeddingProviderSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CliEmbeddingProviderSpec
impl Serialize for CliEmbeddingProviderSpec
impl StructuralPartialEq for CliEmbeddingProviderSpec
Auto Trait Implementations§
impl Freeze for CliEmbeddingProviderSpec
impl RefUnwindSafe for CliEmbeddingProviderSpec
impl Send for CliEmbeddingProviderSpec
impl Sync for CliEmbeddingProviderSpec
impl Unpin for CliEmbeddingProviderSpec
impl UnsafeUnpin for CliEmbeddingProviderSpec
impl UnwindSafe for CliEmbeddingProviderSpec
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