pub struct VersionTriple {
pub schema: String,
pub model: String,
pub calib: Option<String>,
}Expand description
The batch-level version triple carried by every emitted Arrow batch.
schema: question-set schema version (seecrate::arrow::DecisionSchema::check_evolution— label-set evolution requires a new schema version and fails loudly).model: resolved model id. Alias resolution is part of the serving contract: the emitted value is the resolved versioned id, which may differ from the requested alias.calib: calibration-fit version;None= uncalibrated (raw distribution). The calibration parameters themselves are rows in the P0.3 metrics tables, never schema content.
Fields§
§schema: StringQuestion-set schema version.
model: StringResolved model id.
calib: Option<String>Calibration-fit version (None = uncalibrated).
Trait Implementations§
Source§impl Clone for VersionTriple
impl Clone for VersionTriple
Source§fn clone(&self) -> VersionTriple
fn clone(&self) -> VersionTriple
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 moreSource§impl Debug for VersionTriple
impl Debug for VersionTriple
Source§impl PartialEq for VersionTriple
impl PartialEq for VersionTriple
Source§fn eq(&self, other: &VersionTriple) -> bool
fn eq(&self, other: &VersionTriple) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for VersionTriple
impl StructuralPartialEq for VersionTriple
Auto Trait Implementations§
impl Freeze for VersionTriple
impl RefUnwindSafe for VersionTriple
impl Send for VersionTriple
impl Sync for VersionTriple
impl Unpin for VersionTriple
impl UnsafeUnpin for VersionTriple
impl UnwindSafe for VersionTriple
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.