Struct libquery::query::Response [] [src]

pub struct Response {
    pub timeline: Timeline,
    pub buckets: Vec<ResponseBucket>,
}

The whole query response.

Fields

The timeline.

The timeline describes into what intervals the continuum is split. This corresponds to the stats inside the buckets.

If the timeline is just a single interval encompassing the whole continuum, it is omitted.

The buckets holding the flows.

Each bucket maps flows of some criteria across the whole time of the query.

Methods

impl Response
[src]

Checks internal invariants.

Panics

If some invariant is broken, this function panics. This is a helper function for unit tests.

Trait Implementations

impl Clone for Response
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Response
[src]

Formats the value using the given formatter.

impl Default for Response
[src]

Returns the "default value" for a type. Read more

impl Eq for Response
[src]

impl PartialEq for Response
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.