Struct kairosdb::query::Query [] [src]

pub struct Query { /* fields omitted */ }

JSON representation of a kairosdb query

Methods

impl Query
[src]

Creates a new Query object. With a absolute or relative start and end time.

The following example creates a query starting from the first nanosecond in our world until the first week in our world finished. let query = Query::new(Time::Nanoseconds(1), Time::Relative{value: 1, unit: TimeUnit::WEEKS});

Trait Implementations

impl Debug for Query
[src]

Formats the value using the given formatter.