pub struct RecommendedModel {
pub name: String,
pub ram_gb: f32,
pub speed_rating: u8,
pub quality_rating: u8,
pub installed: bool,
}Expand description
Information about a recommended Ollama model.
This struct contains metadata about models suitable for ulm, including RAM requirements and quality/speed ratings.
Fields§
§name: StringModel name (e.g., “llama3.2:3b”).
ram_gb: f32Estimated RAM requirement in GB.
speed_rating: u8Speed rating from 1-5 (5 = fastest).
quality_rating: u8Quality rating from 1-5 (5 = best).
installed: boolWhether this model is installed in Ollama.
Trait Implementations§
Source§impl Clone for RecommendedModel
impl Clone for RecommendedModel
Source§impl Debug for RecommendedModel
impl Debug for RecommendedModel
Source§impl<'de> Deserialize<'de> for RecommendedModel
impl<'de> Deserialize<'de> for RecommendedModel
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 RecommendedModel
impl PartialEq for RecommendedModel
Source§impl Serialize for RecommendedModel
impl Serialize for RecommendedModel
impl StructuralPartialEq for RecommendedModel
Auto Trait Implementations§
impl Freeze for RecommendedModel
impl RefUnwindSafe for RecommendedModel
impl Send for RecommendedModel
impl Sync for RecommendedModel
impl Unpin for RecommendedModel
impl UnsafeUnpin for RecommendedModel
impl UnwindSafe for RecommendedModel
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more