pub enum EmbeddingBackend {
Local,
Api,
}Variants§
Trait Implementations§
Source§impl Clone for EmbeddingBackend
impl Clone for EmbeddingBackend
Source§fn clone(&self) -> EmbeddingBackend
fn clone(&self) -> EmbeddingBackend
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 EmbeddingBackend
impl Debug for EmbeddingBackend
Source§impl<'de> Deserialize<'de> for EmbeddingBackend
impl<'de> Deserialize<'de> for EmbeddingBackend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EmbeddingBackend
impl PartialEq for EmbeddingBackend
Source§impl Serialize for EmbeddingBackend
impl Serialize for EmbeddingBackend
impl StructuralPartialEq for EmbeddingBackend
Auto Trait Implementations§
impl Freeze for EmbeddingBackend
impl RefUnwindSafe for EmbeddingBackend
impl Send for EmbeddingBackend
impl Sync for EmbeddingBackend
impl Unpin for EmbeddingBackend
impl UnsafeUnpin for EmbeddingBackend
impl UnwindSafe for EmbeddingBackend
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