[][src]Struct rustorm::Rows

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 Clone for Rows
[src]

Performs copy-assignment from source. Read more

impl Serialize for Rows
[src]

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

impl Debug for Rows
[src]

Auto Trait Implementations

impl Send for Rows

impl Sync for Rows

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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