#[non_exhaustive]pub enum EmbeddingVector {
Float(Vec<f64>),
Base64(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for EmbeddingVector
impl Clone for EmbeddingVector
Source§impl Debug for EmbeddingVector
impl Debug for EmbeddingVector
Source§impl<'de> Deserialize<'de> for EmbeddingVector
impl<'de> Deserialize<'de> for EmbeddingVector
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 EmbeddingVector
impl PartialEq for EmbeddingVector
Source§impl Serialize for EmbeddingVector
impl Serialize for EmbeddingVector
impl StructuralPartialEq for EmbeddingVector
Auto Trait Implementations§
impl Forget for EmbeddingVector
impl Freeze for EmbeddingVector
impl Move for EmbeddingVector
impl RefUnwindSafe for EmbeddingVector
impl Send for EmbeddingVectorwhere
RawVecInner: Send,
impl Sync for EmbeddingVectorwhere
RawVecInner: Sync,
impl Unpin for EmbeddingVector
impl UnsafeUnpin for EmbeddingVector
impl UnwindSafe for EmbeddingVectorwhere
RawVecInner: UnwindSafe,
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