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

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.

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]

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ResponseBucket
[src]

Formats the value using the given formatter.

impl Default for ResponseBucket
[src]

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

impl Eq for ResponseBucket
[src]

impl PartialEq for ResponseBucket
[src]

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

This method tests for !=.