pub struct QueryStatus {
    pub elapsed_time: u64,
    pub blocks_examined: u64,
    pub rows_examined: u64,
    pub rows_matched: u64,
    pub num_groups: u32,
    pub is_partial: bool,
    pub continuation_token: Option<String>,
    pub is_estimate: bool,
    pub cache_status: CacheStatus,
    pub min_block_time: DateTime<Utc>,
    pub max_block_time: DateTime<Utc>,
    pub messages: Vec<QueryMessage>,
}
Expand description

The status of a query result.

Fields

elapsed_time: u64

The duration it took the query to execute.

blocks_examined: u64

The amount of blocks that have been examined by the query.

rows_examined: u64

The amount of rows that have been examined by the query.

rows_matched: u64

The amount of rows that matched the query.

num_groups: u32

The amount of groups returned by the query.

is_partial: bool

True if the query result is a partial result.

continuation_token: Option<String>

Populated when IsPartial is true, must be passed to the next query request to retrieve the next result set.

is_estimate: bool

True if the query result is estimated.

cache_status: CacheStatus

The status of the cache.

min_block_time: DateTime<Utc>

The timestamp of the oldest block examined.

max_block_time: DateTime<Utc>

The timestamp of the newest block examined.

messages: Vec<QueryMessage>

Messages associated with the query.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. 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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more