pub struct ConformalCalibrationRef {
pub schema_version: u32,
pub binding_id: String,
pub calibration_fingerprint: String,
}Expand description
Typed reference retained by portable execution bundles. It contains no
host object or duplicate algorithm state; the complete state stays in the
matching TrainingOutcome.
Fields§
§schema_version: u32§binding_id: String§calibration_fingerprint: StringImplementations§
Source§impl ConformalCalibrationRef
impl ConformalCalibrationRef
pub fn validate(&self) -> Result<(), DagMlError>
pub fn validate_against( &self, calibration: &ConformalCalibration, ) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for ConformalCalibrationRef
impl Clone for ConformalCalibrationRef
Source§fn clone(&self) -> ConformalCalibrationRef
fn clone(&self) -> ConformalCalibrationRef
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 ConformalCalibrationRef
impl Debug for ConformalCalibrationRef
Source§impl<'de> Deserialize<'de> for ConformalCalibrationRef
impl<'de> Deserialize<'de> for ConformalCalibrationRef
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConformalCalibrationRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConformalCalibrationRef, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConformalCalibrationRef
Source§impl PartialEq for ConformalCalibrationRef
impl PartialEq for ConformalCalibrationRef
Source§impl Serialize for ConformalCalibrationRef
impl Serialize for ConformalCalibrationRef
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ConformalCalibrationRef
Auto Trait Implementations§
impl Freeze for ConformalCalibrationRef
impl RefUnwindSafe for ConformalCalibrationRef
impl Send for ConformalCalibrationRef
impl Sync for ConformalCalibrationRef
impl Unpin for ConformalCalibrationRef
impl UnsafeUnpin for ConformalCalibrationRef
impl UnwindSafe for ConformalCalibrationRef
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.