Struct odbc_futures::SqlTypeInfo
source · pub struct SqlTypeInfo {Show 19 fields
pub type_name: String,
pub data_type: SqlDataType,
pub column_size: Option<usize>,
pub literal_prefix: Option<String>,
pub literal_suffix: Option<String>,
pub create_params: Option<String>,
pub nullable: Nullable,
pub case_sensitive: bool,
pub searchable: i16,
pub unsigned_attribute: Option<bool>,
pub fixed_prec_scale: Option<bool>,
pub auto_unique_value: Option<bool>,
pub local_type_name: Option<String>,
pub minimum_scale: Option<SQLSMALLINT>,
pub maximum_scale: Option<SQLSMALLINT>,
pub sql_data_type: SqlDataType,
pub sql_datetime_sub: Option<SqlDataType>,
pub num_prec_radix: Option<usize>,
pub interval_precision: Option<SQLSMALLINT>,
}
Fields§
§type_name: String
§data_type: SqlDataType
§column_size: Option<usize>
§literal_prefix: Option<String>
§literal_suffix: Option<String>
§create_params: Option<String>
§nullable: Nullable
§case_sensitive: bool
§searchable: i16
§unsigned_attribute: Option<bool>
§fixed_prec_scale: Option<bool>
§auto_unique_value: Option<bool>
§local_type_name: Option<String>
§minimum_scale: Option<SQLSMALLINT>
§maximum_scale: Option<SQLSMALLINT>
§sql_data_type: SqlDataType
§sql_datetime_sub: Option<SqlDataType>
§num_prec_radix: Option<usize>
§interval_precision: Option<SQLSMALLINT>
Trait Implementations§
source§impl Clone for SqlTypeInfo
impl Clone for SqlTypeInfo
source§fn clone(&self) -> SqlTypeInfo
fn clone(&self) -> SqlTypeInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SqlTypeInfo
impl Debug for SqlTypeInfo
source§impl Default for SqlTypeInfo
impl Default for SqlTypeInfo
source§fn default() -> SqlTypeInfo
fn default() -> SqlTypeInfo
Returns the “default value” for a type. Read more