[src]

Struct test::Metric

pub struct Metric {
    // some fields omitted
}

Methods

impl Metric

fn new(value: f64, noise: f64) -> Metric

Trait Implementations

impl ToJson for Metric

fn to_json(&self) -> Json

Derived Implementations

impl Show for Metric

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for Metric

fn eq(&self, __arg_0: &Metric) -> bool

fn ne(&self, __arg_0: &Metric) -> bool

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Metric

fn decode(__arg_0: &mut __D) -> Result<Metric, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Metric

fn encode(&self, __arg_0: &mut __S) -> Result<(), __E>

impl Clone for Metric

fn clone(&self) -> Metric