Trait ResultSetMetaData

Source
pub trait ResultSetMetaData {
    // Required methods
    fn num_columns(&self) -> u64;
    fn column_name(&self, i: u64) -> String;
    fn column_type(&self, i: u64) -> DataType;
    fn column_type_name(&self, i: u64) -> String;
    fn precision(&self, i: u64) -> u64;
    fn schema_name(&self, i: u64) -> String;
    fn table_name(&self, i: u64) -> String;
    fn is_nullable(&self, i: u64) -> String;
    fn is_read_only(&self, i: u64) -> String;
}
Expand description

Meta data for result set

Required Methods§

Source

fn num_columns(&self) -> u64

Source

fn column_name(&self, i: u64) -> String

Source

fn column_type(&self, i: u64) -> DataType

Source

fn column_type_name(&self, i: u64) -> String

Source

fn precision(&self, i: u64) -> u64

Source

fn schema_name(&self, i: u64) -> String

Source

fn table_name(&self, i: u64) -> String

Source

fn is_nullable(&self, i: u64) -> String

Source

fn is_read_only(&self, i: u64) -> String

Implementations on Foreign Types§

Source§

impl ResultSetMetaData for Vec<Column>

Source§

fn num_columns(&self) -> u64

Source§

fn column_name(&self, i: u64) -> String

Source§

fn column_type(&self, i: u64) -> DataType

Source§

fn column_type_name(&self, i: u64) -> String

Source§

fn precision(&self, i: u64) -> u64

Source§

fn schema_name(&self, i: u64) -> String

Source§

fn table_name(&self, i: u64) -> String

Source§

fn is_nullable(&self, i: u64) -> String

Source§

fn is_read_only(&self, i: u64) -> String

Implementors§