pub struct CompactMetric(/* private fields */);Expand description
CompactMetric
Compact metrics counter.
Implementations§
Trait Implementations§
Source§impl CandidType for CompactMetric
impl CandidType for CompactMetric
Source§impl Clone for CompactMetric
impl Clone for CompactMetric
Source§fn clone(&self) -> CompactMetric
fn clone(&self) -> CompactMetric
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 CompactMetric
Source§impl Debug for CompactMetric
impl Debug for CompactMetric
Source§impl Default for CompactMetric
impl Default for CompactMetric
Source§fn default() -> CompactMetric
fn default() -> CompactMetric
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompactMetric
impl<'de> Deserialize<'de> for CompactMetric
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 CompactMetric
Source§impl PartialEq for CompactMetric
impl PartialEq for CompactMetric
Source§fn eq(&self, other: &CompactMetric) -> bool
fn eq(&self, other: &CompactMetric) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompactMetric
Auto Trait Implementations§
impl Freeze for CompactMetric
impl RefUnwindSafe for CompactMetric
impl Send for CompactMetric
impl Sync for CompactMetric
impl Unpin for CompactMetric
impl UnsafeUnpin for CompactMetric
impl UnwindSafe for CompactMetric
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