[][src]Struct google_spanner1::ResultSet

pub struct ResultSet {
    pub rows: Option<Vec<Vec<String>>>,
    pub stats: Option<ResultSetStats>,
    pub metadata: Option<ResultSetMetadata>,
}

Results from Read or ExecuteSql.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

rows: Option<Vec<Vec<String>>>

Each element in rows is a row whose format is defined by metadata.row_type. The ith element in each row matches the ith field in metadata.row_type. Elements are encoded based on type as described here.

stats: Option<ResultSetStats>

Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting ExecuteSqlRequest.query_mode. DML statements always produce stats containing the number of rows modified, unless executed using the ExecuteSqlRequest.QueryMode.PLAN ExecuteSqlRequest.query_mode. Other fields may or may not be populated, based on the ExecuteSqlRequest.query_mode.

metadata: Option<ResultSetMetadata>

Metadata about the result set, such as row type information.

Trait Implementations

impl ResponseResult for ResultSet[src]

impl Clone for ResultSet[src]

impl Default for ResultSet[src]

impl Debug for ResultSet[src]

impl Serialize for ResultSet[src]

impl<'de> Deserialize<'de> for ResultSet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]