pub struct LlmModel {
pub name: String,
pub description: Option<String>,
pub context_window: Option<u64>,
}Expand description
A model the provider serves.
Every optional may legitimately be None: models are blueprint-declared, and
an operator may declare a name without a description, a context window, or an
output reserve. Absent means unknown, not zero.
Fields§
§name: String§description: Option<String>§context_window: Option<u64>Implementations§
Trait Implementations§
impl Eq for LlmModel
impl StructuralPartialEq for LlmModel
Auto Trait Implementations§
impl Freeze for LlmModel
impl RefUnwindSafe for LlmModel
impl Send for LlmModel
impl Sync for LlmModel
impl Unpin for LlmModel
impl UnsafeUnpin for LlmModel
impl UnwindSafe for LlmModel
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.