Struct scylla::QueryResult[][src]

pub struct QueryResult {
    pub rows: Option<Vec<Row>>,
    pub warnings: Vec<String>,
    pub tracing_id: Option<Uuid>,
    pub paging_state: Option<Bytes>,
    pub col_specs: Vec<ColumnSpec>,
}
Expand description

Result of a single query
Contains all rows returned by the database and some more information

Fields

rows: Option<Vec<Row>>

Rows returned by the database

warnings: Vec<String>

Warnings returned by the database

tracing_id: Option<Uuid>

CQL Tracing uuid - can only be Some if tracing is enabled for this query

paging_state: Option<Bytes>

Paging state returned from the server

col_specs: Vec<ColumnSpec>

Column specification returned from the server

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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.

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