Struct lustre_collector::types::TargetStat
source · pub struct TargetStat<T> {
pub kind: TargetVariant,
pub param: Param,
pub target: Target,
pub value: T,
}
Expand description
Stats specific to a target.
Fields§
§kind: TargetVariant
§param: Param
§target: Target
§value: T
Trait Implementations§
source§impl<T: Debug> Debug for TargetStat<T>
impl<T: Debug> Debug for TargetStat<T>
source§impl<'de, T> Deserialize<'de> for TargetStat<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for TargetStat<T>where
T: Deserialize<'de>,
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<T: PartialEq> PartialEq for TargetStat<T>
impl<T: PartialEq> PartialEq for TargetStat<T>
source§fn eq(&self, other: &TargetStat<T>) -> bool
fn eq(&self, other: &TargetStat<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> Serialize for TargetStat<T>where
T: Serialize,
impl<T> Serialize for TargetStat<T>where
T: Serialize,
impl<T: Eq> Eq for TargetStat<T>
impl<T> StructuralPartialEq for TargetStat<T>
Auto Trait Implementations§
impl<T> Freeze for TargetStat<T>where
T: Freeze,
impl<T> RefUnwindSafe for TargetStat<T>where
T: RefUnwindSafe,
impl<T> Send for TargetStat<T>where
T: Send,
impl<T> Sync for TargetStat<T>where
T: Sync,
impl<T> Unpin for TargetStat<T>where
T: Unpin,
impl<T> UnwindSafe for TargetStat<T>where
T: UnwindSafe,
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<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.