Struct rustorm::Rows[][src]

pub struct Rows {
    pub columns: Vec<String>,
    pub data: Vec<Vec<Value>>,
    pub count: Option<u64>,
}

use this to store data retrieved from the database This is also slimmer than Vec when serialized

Fields

can be optionally set, indicates how many total rows are there in the table

Methods

impl Rows
[src]

Returns an iterator over the Rows.

Trait Implementations

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Rows
[src]

Serialize this value into the given Serde serializer. Read more

impl Clone for Rows
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Rows
[src]

Formats the value using the given formatter. Read more

impl<'a> IntoIterator for &'a Rows
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

impl Send for Rows

impl Sync for Rows