Enum EmbeddingModality
pub enum EmbeddingModality {
Text,
Image,
Audio,
Video,
Code,
Tabular,
Graph,
Multimodal,
Other,
}Variants§
Implementations§
§impl EmbeddingModality
impl EmbeddingModality
Trait Implementations§
§impl Clone for EmbeddingModality
impl Clone for EmbeddingModality
§fn clone(&self) -> EmbeddingModality
fn clone(&self) -> EmbeddingModality
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 more§impl Debug for EmbeddingModality
impl Debug for EmbeddingModality
§impl Display for EmbeddingModality
impl Display for EmbeddingModality
§impl FromStr for EmbeddingModality
impl FromStr for EmbeddingModality
§type Err = EmbeddingError
type Err = EmbeddingError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<EmbeddingModality, <EmbeddingModality as FromStr>::Err>
fn from_str( value: &str, ) -> Result<EmbeddingModality, <EmbeddingModality as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for EmbeddingModality
impl Hash for EmbeddingModality
§impl Ord for EmbeddingModality
impl Ord for EmbeddingModality
§fn cmp(&self, other: &EmbeddingModality) -> Ordering
fn cmp(&self, other: &EmbeddingModality) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for EmbeddingModality
impl PartialEq for EmbeddingModality
§impl PartialOrd for EmbeddingModality
impl PartialOrd for EmbeddingModality
impl Copy for EmbeddingModality
impl Eq for EmbeddingModality
impl StructuralPartialEq for EmbeddingModality
Auto Trait Implementations§
impl Freeze for EmbeddingModality
impl RefUnwindSafe for EmbeddingModality
impl Send for EmbeddingModality
impl Sync for EmbeddingModality
impl Unpin for EmbeddingModality
impl UnsafeUnpin for EmbeddingModality
impl UnwindSafe for EmbeddingModality
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