[][src]Struct hdbconnect::ResultSetMetadata

pub struct ResultSetMetadata { /* fields omitted */ }

Metadata for the fields in a result set.

Methods

impl ResultSetMetadata[src]

pub fn number_of_fields(&self) -> usize[src]

Returns the number of fields.

pub fn is_empty(&self) -> bool[src]

Returns true if the set of fields is empty.

pub fn schemaname(&self, i: usize) -> HdbResult<&String>[src]

Database schema of the i'th column in the resultset.

pub fn tablename(&self, i: usize) -> HdbResult<&String>[src]

Database table of the i'th column in the resultset.

pub fn columnname(&self, i: usize) -> HdbResult<&String>[src]

Name of the i'th column in the resultset.

pub fn displayname(&self, index: usize) -> HdbResult<&String>[src]

Display name of the column.

pub fn nullable(&self, i: usize) -> HdbResult<bool>[src]

True if column can contain NULL values.

pub fn has_default(&self, i: usize) -> HdbResult<bool>[src]

Returns true if the column has a default value.

pub fn read_only(&self, i: usize) -> HdbResult<bool>[src]

Returns true if the column is read-only.

pub fn is_auto_incremented(&self, i: usize) -> HdbResult<bool>[src]

Returns true if the column is auto-incremented.

pub fn is_array_type(&self, i: usize) -> HdbResult<bool>[src]

Returns true if the column is of array type.

pub fn type_id(&self, i: usize) -> HdbResult<TypeId>[src]

Returns the id of the value type.

pub fn scale(&self, i: usize) -> HdbResult<i16>[src]

Scale length (for some numeric types only).

pub fn precision(&self, i: usize) -> HdbResult<i16>[src]

Precision (for some numeric types only).

Trait Implementations

impl Clone for ResultSetMetadata[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for ResultSetMetadata[src]

impl Debug for ResultSetMetadata[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

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

type Error = Infallible

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> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto 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> Same for T

type Output = T

Should always be Self