pub struct MetricRoleReference {
pub schema_version: u32,
pub role_id: String,
pub role: MetricRoleKind,
pub output_id: Option<String>,
pub partition: PredictionPartition,
pub level: PredictionLevel,
pub missing_value_policy: MissingMetricPolicy,
pub metric: MetricReference,
}Fields§
§schema_version: u32§role_id: String§role: MetricRoleKind§output_id: Option<String>§partition: PredictionPartition§level: PredictionLevel§missing_value_policy: MissingMetricPolicy§metric: MetricReferenceImplementations§
Trait Implementations§
Source§impl Clone for MetricRoleReference
impl Clone for MetricRoleReference
Source§fn clone(&self) -> MetricRoleReference
fn clone(&self) -> MetricRoleReference
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 MetricRoleReference
impl Debug for MetricRoleReference
Source§impl<'de> Deserialize<'de> for MetricRoleReference
impl<'de> Deserialize<'de> for MetricRoleReference
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 MetricRoleReference
Source§impl PartialEq for MetricRoleReference
impl PartialEq for MetricRoleReference
Source§impl Serialize for MetricRoleReference
impl Serialize for MetricRoleReference
impl StructuralPartialEq for MetricRoleReference
Auto Trait Implementations§
impl Freeze for MetricRoleReference
impl RefUnwindSafe for MetricRoleReference
impl Send for MetricRoleReference
impl Sync for MetricRoleReference
impl Unpin for MetricRoleReference
impl UnsafeUnpin for MetricRoleReference
impl UnwindSafe for MetricRoleReference
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.