Enum prometheus_http_query::Response[][src]

pub enum Response {
    Vector(Vec<Vector>),
    Matrix(Vec<Matrix>),
}
Expand description

A response wrapper for vector and matrix return types. The Vector and Matrix types encapsulate a set of time series with a single sample and a set of time series containing a range of sample data respectively.

Variants

Vector(Vec<Vector>)
Matrix(Vec<Matrix>)

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.