pub struct ModelFilterOptions {
pub quantizations: Vec<String>,
pub param_range: Option<RangeValues>,
pub context_range: Option<RangeValues>,
}Expand description
Filter options for the model library UI.
Contains aggregate data about available models for building dynamic filter controls.
Fields§
§quantizations: Vec<String>All distinct quantization types present in the library.
param_range: Option<RangeValues>Minimum and maximum parameter counts (in billions).
context_range: Option<RangeValues>Minimum and maximum context lengths.
Trait Implementations§
Source§impl Clone for ModelFilterOptions
impl Clone for ModelFilterOptions
Source§fn clone(&self) -> ModelFilterOptions
fn clone(&self) -> ModelFilterOptions
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 moreSource§impl Debug for ModelFilterOptions
impl Debug for ModelFilterOptions
Source§impl<'de> Deserialize<'de> for ModelFilterOptions
impl<'de> Deserialize<'de> for ModelFilterOptions
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
Auto Trait Implementations§
impl Freeze for ModelFilterOptions
impl RefUnwindSafe for ModelFilterOptions
impl Send for ModelFilterOptions
impl Sync for ModelFilterOptions
impl Unpin for ModelFilterOptions
impl UnwindSafe for ModelFilterOptions
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