#[non_exhaustive]pub enum PanelSource {
LibraryMetrics,
ApplicationSupplied,
}Expand description
Where a panel’s numbers come from.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LibraryMetrics
Every series is a metric this library emits.
ApplicationSupplied
The library supplies context but the score itself comes from the application: a rating, a survey, an offline evaluation (spec §27.6).
Trait Implementations§
Source§impl Clone for PanelSource
impl Clone for PanelSource
impl Copy for PanelSource
Source§impl Debug for PanelSource
impl Debug for PanelSource
Source§impl<'de> Deserialize<'de> for PanelSource
impl<'de> Deserialize<'de> for PanelSource
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 PanelSource
Source§impl Hash for PanelSource
impl Hash for PanelSource
Source§impl Ord for PanelSource
impl Ord for PanelSource
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PanelSource
impl PartialEq for PanelSource
Source§impl PartialOrd for PanelSource
impl PartialOrd for PanelSource
Source§impl Serialize for PanelSource
impl Serialize for PanelSource
impl StructuralPartialEq for PanelSource
Auto Trait Implementations§
impl Freeze for PanelSource
impl RefUnwindSafe for PanelSource
impl Send for PanelSource
impl Sync for PanelSource
impl Unpin for PanelSource
impl UnsafeUnpin for PanelSource
impl UnwindSafe for PanelSource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.