[][src]Struct dbui_core::database::results::ResultSet

pub struct ResultSet { /* fields omitted */ }

Represents a set of columns and rows along with information about the source.

Methods

impl ResultSet[src]

pub fn new(
    id: Uuid,
    ctx: String,
    sql: Option<String>,
    columns: Vec<Column>,
    data: Vec<Vec<Option<String>>>,
    duration_ms: i32
) -> ResultSet
[src]

impl ResultSet[src]

pub fn id(&self) -> &Uuid[src]

pub fn ctx(&self) -> &String[src]

pub fn sql(&self) -> &Option<String>[src]

pub fn columns(&self) -> &Vec<Column>[src]

pub fn data(&self) -> &Vec<Vec<Option<String>>>[src]

pub fn duration_ms(&self) -> &i32[src]

Trait Implementations

impl Clone 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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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 = Infallible

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]