pub struct TimerMetricKey {
pub mode: TimerMode,
pub delay_ms: u64,
pub label: String,
}Expand description
TimerMetricKey Uniquely identifies a timer by mode + delay (ms) + label.
Fields§
§mode: TimerMode§delay_ms: u64§label: StringTrait Implementations§
Source§impl CandidType for TimerMetricKey
impl CandidType for TimerMetricKey
Source§impl Clone for TimerMetricKey
impl Clone for TimerMetricKey
Source§fn clone(&self) -> TimerMetricKey
fn clone(&self) -> TimerMetricKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimerMetricKey
impl Debug for TimerMetricKey
Source§impl<'de> Deserialize<'de> for TimerMetricKey
impl<'de> Deserialize<'de> for TimerMetricKey
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 Hash for TimerMetricKey
impl Hash for TimerMetricKey
Source§impl PartialEq for TimerMetricKey
impl PartialEq for TimerMetricKey
Source§impl Serialize for TimerMetricKey
impl Serialize for TimerMetricKey
impl Eq for TimerMetricKey
impl StructuralPartialEq for TimerMetricKey
Auto Trait Implementations§
impl Freeze for TimerMetricKey
impl RefUnwindSafe for TimerMetricKey
impl Send for TimerMetricKey
impl Sync for TimerMetricKey
impl Unpin for TimerMetricKey
impl UnwindSafe for TimerMetricKey
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