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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.