Struct cadence::Gauge [−][src]
pub struct Gauge { /* fields omitted */ }Gauges are an instantaneous value determined by the client.
See the Gauged trait for more information.
Methods
impl Gauge[src]
impl GaugeTrait Implementations
impl PartialEq for Gauge[src]
impl PartialEq for Gaugefn eq(&self, other: &Gauge) -> bool[src]
fn eq(&self, other: &Gauge) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Gauge) -> bool[src]
fn ne(&self, other: &Gauge) -> boolThis method tests for !=.
impl Eq for Gauge[src]
impl Eq for Gaugeimpl Debug for Gauge[src]
impl Debug for Gaugefn 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 Gauge[src]
impl Hash for Gaugefn 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 Gauge[src]
impl Clone for Gaugefn clone(&self) -> Gauge[src]
fn clone(&self) -> GaugeReturns 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 Gauge[src]
impl From<String> for Gaugeimpl Metric for Gauge[src]
impl Metric for Gaugefn as_metric_str(&self) -> &str[src]
fn as_metric_str(&self) -> &str