pub struct Model {
pub id: String,
pub provider: Option<String>,
pub revision: Option<String>,
pub endpoint: Option<String>,
pub engine: Option<Engine>,
pub quantization: Option<Quantization>,
pub availability: Option<String>,
pub context_window: Option<u64>,
pub ext: Ext,
}Expand description
The model that was evaluated.
Fields§
§id: StringModel identifier as the producer names it (for example qwen3.6-32b).
provider: Option<String>Who served the model (openai, anthropic, local, …).
revision: Option<String>Exact revision: a commit, a checkpoint tag, or a provider snapshot date.
endpoint: Option<String>Endpoint the model was reached through, when that changes the result.
engine: Option<Engine>Inference engine that ran the model.
quantization: Option<Quantization>Quantisation applied to the weights.
availability: Option<String>Availability of the weights (open, api, private, …).
context_window: Option<u64>Context window in tokens. Recorded; does not affect the fingerprint.
ext: ExtExtensions keyed by namespace; not fingerprinted unless registered.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Model
impl<'de> Deserialize<'de> for Model
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 JsonSchema for Model
impl JsonSchema for Model
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnsafeUnpin for Model
impl UnwindSafe for Model
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