pub enum ServedModelKind {
Llm,
Embedding,
Transcription,
Speech,
}Variants§
Implementations§
Source§impl ServedModelKind
impl ServedModelKind
pub fn modalities(self) -> &'static [&'static str]
Trait Implementations§
Source§impl Clone for ServedModelKind
impl Clone for ServedModelKind
Source§fn clone(&self) -> ServedModelKind
fn clone(&self) -> ServedModelKind
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 moreimpl Copy for ServedModelKind
Source§impl Debug for ServedModelKind
impl Debug for ServedModelKind
impl Eq for ServedModelKind
Source§impl PartialEq for ServedModelKind
impl PartialEq for ServedModelKind
impl StructuralPartialEq for ServedModelKind
Auto Trait Implementations§
impl Freeze for ServedModelKind
impl RefUnwindSafe for ServedModelKind
impl Send for ServedModelKind
impl Sync for ServedModelKind
impl Unpin for ServedModelKind
impl UnsafeUnpin for ServedModelKind
impl UnwindSafe for ServedModelKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.