Struct libquery::query::ResponseBucket
[−]
[src]
pub struct ResponseBucket { pub headers: Headers, pub stats: Vec<Stats>, }
Information about a group of flows.
The bucket contains a group of flows of certain criteria. The structure describes these flows.
Fields
headers: Headers
Information about the flows.
The headers contain the discrete information, like IP addresses or ports. If there are multiple flows, it is possible to have multiple values of a single criterion. In that case, all are returned inside a set.
stats: Vec<Stats>
The statistics about the flows.
The „accumulative“ statistics of the flows ‒ their sizes, speeds, etc.
Each value in this vector corresponds to one interval in the timeline inside
Response
.
Methods
impl ResponseBucket
[src]
fn flatten_stats(&mut self)
Flattens all the statistics into a single one.
Combines all the statistics in stats
sequentially to form a single all-encompassing
statistic.
Trait Implementations
impl Clone for ResponseBucket
[src]
fn clone(&self) -> ResponseBucket
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
impl Debug for ResponseBucket
[src]
impl Default for ResponseBucket
[src]
fn default() -> ResponseBucket
Returns the "default value" for a type. Read more
impl Eq for ResponseBucket
[src]
impl PartialEq for ResponseBucket
[src]
fn eq(&self, __arg_0: &ResponseBucket) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ResponseBucket) -> bool
This method tests for !=
.