Struct hdbconnect::ResultSetMetadata
[−]
[src]
pub struct ResultSetMetadata { /* fields omitted */ }
Metadata for the fields in a result set.
Methods
impl ResultSetMetadata
[src]
fn number_of_fields(&self) -> usize
[src]
Returns the number of fields.
fn is_empty(&self) -> bool
[src]
Returns true if the set of fields is empty.
fn schemaname(&self, i: usize) -> HdbResult<&String>
[src]
Database schema of the i'th column in the resultset.
fn tablename(&self, i: usize) -> HdbResult<&String>
[src]
Database table of the i'th column in the resultset.
fn columnname(&self, i: usize) -> HdbResult<&String>
[src]
Name of the i'th column in the resultset.
fn displayname(&self, index: usize) -> HdbResult<&String>
[src]
Display name of the column.
fn is_nullable(&self, i: usize) -> HdbResult<bool>
[src]
True if column can contain NULL values.
fn has_default(&self, i: usize) -> HdbResult<bool>
[src]
Returns true if the column has a default value.
fn is_readonly(&self, i: usize) -> HdbResult<bool>
[src]
Returns true if the column is readonly.
fn is_auto_incremented(&self, i: usize) -> HdbResult<bool>
[src]
Returns true if the column is auto-incremented.
fn is_array_type(&self, i: usize) -> HdbResult<bool>
[src]
Returns true if the column is of array type.
fn type_id(&self, i: usize) -> HdbResult<u8>
[src]
Returns the id of the value type. See module hdbconnect::metadata::type_id
.
fn scale(&self, i: usize) -> HdbResult<i16>
[src]
Scale length (for some numeric types only).
fn precision(&self, i: usize) -> HdbResult<i16>
[src]
Precision (for some numeric types only).
Trait Implementations
impl Clone for ResultSetMetadata
[src]
fn clone(&self) -> ResultSetMetadata
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more