Enum llm_sdk::EmbeddingEncodingFormat
source · pub enum EmbeddingEncodingFormat {
Float,
Base64,
}Variants§
Trait Implementations§
source§impl Clone for EmbeddingEncodingFormat
impl Clone for EmbeddingEncodingFormat
source§fn clone(&self) -> EmbeddingEncodingFormat
fn clone(&self) -> EmbeddingEncodingFormat
Returns a copy 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 EmbeddingEncodingFormat
impl Debug for EmbeddingEncodingFormat
source§impl Default for EmbeddingEncodingFormat
impl Default for EmbeddingEncodingFormat
source§fn default() -> EmbeddingEncodingFormat
fn default() -> EmbeddingEncodingFormat
Returns the “default value” for a type. Read more
source§impl PartialEq for EmbeddingEncodingFormat
impl PartialEq for EmbeddingEncodingFormat
source§fn eq(&self, other: &EmbeddingEncodingFormat) -> bool
fn eq(&self, other: &EmbeddingEncodingFormat) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EmbeddingEncodingFormat
impl Serialize for EmbeddingEncodingFormat
impl Copy for EmbeddingEncodingFormat
impl Eq for EmbeddingEncodingFormat
impl StructuralEq for EmbeddingEncodingFormat
impl StructuralPartialEq for EmbeddingEncodingFormat
Auto Trait Implementations§
impl RefUnwindSafe for EmbeddingEncodingFormat
impl Send for EmbeddingEncodingFormat
impl Sync for EmbeddingEncodingFormat
impl Unpin for EmbeddingEncodingFormat
impl UnwindSafe for EmbeddingEncodingFormat
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.