Struct cadence::Meter [−][src]
pub struct Meter { /* fields omitted */ }Meters measure the rate at which events occur as determined by the server.
See the Metered trait for more information.
Methods
impl Meter[src]
impl MeterTrait Implementations
impl PartialEq for Meter[src]
impl PartialEq for Meterfn eq(&self, other: &Meter) -> bool[src]
fn eq(&self, other: &Meter) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Meter) -> bool[src]
fn ne(&self, other: &Meter) -> boolThis method tests for !=.
impl Eq for Meter[src]
impl Eq for Meterimpl Debug for Meter[src]
impl Debug for Meterfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for Meter[src]
impl Hash for Meterfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for Meter[src]
impl Clone for Meterfn clone(&self) -> Meter[src]
fn clone(&self) -> MeterReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl From<String> for Meter[src]
impl From<String> for Meterimpl Metric for Meter[src]
impl Metric for Meterfn as_metric_str(&self) -> &str[src]
fn as_metric_str(&self) -> &str