pub struct CalibrationSnapshot {
pub schema_version: String,
pub snapshot_id: CalibrationSnapshotId,
pub case_id: VerificationCaseId,
pub recorded_at: String,
pub comparability_available: bool,
pub oracle_calibrated: bool,
pub abstention_threshold_micros: u64,
pub observed_risk_micros: u64,
pub drift_markers: Vec<String>,
pub forces_advisory_only: bool,
}Fields§
§schema_version: String§snapshot_id: CalibrationSnapshotId§case_id: VerificationCaseId§recorded_at: String§comparability_available: bool§oracle_calibrated: bool§abstention_threshold_micros: u64§observed_risk_micros: u64§drift_markers: Vec<String>§forces_advisory_only: boolImplementations§
Trait Implementations§
Source§impl Clone for CalibrationSnapshot
impl Clone for CalibrationSnapshot
Source§fn clone(&self) -> CalibrationSnapshot
fn clone(&self) -> CalibrationSnapshot
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 CalibrationSnapshot
impl Debug for CalibrationSnapshot
Source§impl<'de> Deserialize<'de> for CalibrationSnapshot
impl<'de> Deserialize<'de> for CalibrationSnapshot
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
impl Eq for CalibrationSnapshot
Source§impl JsonSchema for CalibrationSnapshot
impl JsonSchema for CalibrationSnapshot
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CalibrationSnapshot
impl PartialEq for CalibrationSnapshot
Source§fn eq(&self, other: &CalibrationSnapshot) -> bool
fn eq(&self, other: &CalibrationSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CalibrationSnapshot
impl Serialize for CalibrationSnapshot
impl StructuralPartialEq for CalibrationSnapshot
Auto Trait Implementations§
impl Freeze for CalibrationSnapshot
impl RefUnwindSafe for CalibrationSnapshot
impl Send for CalibrationSnapshot
impl Sync for CalibrationSnapshot
impl Unpin for CalibrationSnapshot
impl UnsafeUnpin for CalibrationSnapshot
impl UnwindSafe for CalibrationSnapshot
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