pub struct OrdinalInterval {
pub level: f64,
pub lower: f64,
pub upper: f64,
}Expand description
One coverage level → ordinal contiguous interval half-widths, in level units, applied around the predicted level (min-CPS / RPS-based nonconformity for the score primitive).
Fields§
§level: f64Target coverage level in (0, 1).
lower: f64Levels below the prediction included at this coverage.
upper: f64Levels above the prediction included at this coverage.
Trait Implementations§
Source§impl Clone for OrdinalInterval
impl Clone for OrdinalInterval
Source§fn clone(&self) -> OrdinalInterval
fn clone(&self) -> OrdinalInterval
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 OrdinalInterval
impl Debug for OrdinalInterval
Source§impl<'de> Deserialize<'de> for OrdinalInterval
impl<'de> Deserialize<'de> for OrdinalInterval
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 OrdinalInterval
impl PartialEq for OrdinalInterval
Source§fn eq(&self, other: &OrdinalInterval) -> bool
fn eq(&self, other: &OrdinalInterval) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OrdinalInterval
impl Serialize for OrdinalInterval
impl Copy for OrdinalInterval
impl StructuralPartialEq for OrdinalInterval
Auto Trait Implementations§
impl Freeze for OrdinalInterval
impl RefUnwindSafe for OrdinalInterval
impl Send for OrdinalInterval
impl Sync for OrdinalInterval
impl Unpin for OrdinalInterval
impl UnsafeUnpin for OrdinalInterval
impl UnwindSafe for OrdinalInterval
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].