pub enum ConfidenceValue {
Low,
Medium,
High,
}Expand description
Three named levels and nothing else. A float would decode here and then have to mean something in aggregation, which v1 deliberately does not define, so the wire type refuses one outright.
Variants§
Trait Implementations§
Source§impl Clone for ConfidenceValue
impl Clone for ConfidenceValue
Source§fn clone(&self) -> ConfidenceValue
fn clone(&self) -> ConfidenceValue
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 moreimpl Copy for ConfidenceValue
Source§impl Debug for ConfidenceValue
impl Debug for ConfidenceValue
Source§impl<'de> Deserialize<'de> for ConfidenceValue
impl<'de> Deserialize<'de> for ConfidenceValue
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 ConfidenceValue
Source§impl From<ConfidenceValue> for Confidence
impl From<ConfidenceValue> for Confidence
Source§fn from(value: ConfidenceValue) -> Self
fn from(value: ConfidenceValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConfidenceValue
impl PartialEq for ConfidenceValue
Source§impl Serialize for ConfidenceValue
impl Serialize for ConfidenceValue
impl StructuralPartialEq for ConfidenceValue
Auto Trait Implementations§
impl Freeze for ConfidenceValue
impl RefUnwindSafe for ConfidenceValue
impl Send for ConfidenceValue
impl Sync for ConfidenceValue
impl Unpin for ConfidenceValue
impl UnsafeUnpin for ConfidenceValue
impl UnwindSafe for ConfidenceValue
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.