pub enum EtaConfidence {
Low,
Medium,
High,
}Expand description
Confidence level of an ETA estimate.
Variants§
Low
No historical data; estimate is a rough guess.
Medium
Some data points but not enough for high confidence.
High
Sufficient data points (>= 10) for a reliable estimate.
Trait Implementations§
Source§impl Clone for EtaConfidence
impl Clone for EtaConfidence
Source§fn clone(&self) -> EtaConfidence
fn clone(&self) -> EtaConfidence
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 EtaConfidence
Source§impl Debug for EtaConfidence
impl Debug for EtaConfidence
Source§impl<'de> Deserialize<'de> for EtaConfidence
impl<'de> Deserialize<'de> for EtaConfidence
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 EtaConfidence
Source§impl PartialEq for EtaConfidence
impl PartialEq for EtaConfidence
Source§fn eq(&self, other: &EtaConfidence) -> bool
fn eq(&self, other: &EtaConfidence) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EtaConfidence
impl Serialize for EtaConfidence
impl StructuralPartialEq for EtaConfidence
Auto Trait Implementations§
impl Freeze for EtaConfidence
impl RefUnwindSafe for EtaConfidence
impl Send for EtaConfidence
impl Sync for EtaConfidence
impl Unpin for EtaConfidence
impl UnsafeUnpin for EtaConfidence
impl UnwindSafe for EtaConfidence
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,
Source§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
Source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
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.