Struct libcantal::Json [] [src]

pub struct Json<'a, T: Collection + ?Sized + 'a>(pub &'a T);

A helper that allows to serialize a collection of metrics as JSON

Trait Implementations

impl<'a, T: Collection + ?Sized + 'a> Serialize for Json<'a, T>
[src]

[src]

Serialize this value into the given Serde serializer. Read more