Struct libquery::query::Response
[−]
[src]
pub struct Response { pub timeline: Timeline, pub buckets: Vec<ResponseBucket>, }
The whole query response.
Fields
timeline: Timeline
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.
buckets: Vec<ResponseBucket>
The buckets holding the flows.
Each bucket maps flows of some criteria across the whole time of the query.
Methods
impl Response
[src]
fn assert_sane(&self)
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]
fn clone(&self) -> Response
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more