pub struct ColumnQueryResult {
Show 15 fields pub column_name: String, pub column_type: String, pub column_default: Option<String>, pub column_generated: Option<String>, pub is_nullable: String, pub is_identity: String, pub numeric_precision: Option<i32>, pub numeric_precision_radix: Option<i32>, pub numeric_scale: Option<i32>, pub character_maximum_length: Option<i32>, pub character_octet_length: Option<i32>, pub datetime_precision: Option<i32>, pub interval_type: Option<String>, pub interval_precision: Option<i32>, pub udt_name: Option<String>,
}
Available on crate features postgres and query only.

Fields

column_name: Stringcolumn_type: Stringcolumn_default: Option<String>column_generated: Option<String>is_nullable: Stringis_identity: Stringnumeric_precision: Option<i32>numeric_precision_radix: Option<i32>numeric_scale: Option<i32>character_maximum_length: Option<i32>character_octet_length: Option<i32>datetime_precision: Option<i32>interval_type: Option<String>interval_precision: Option<i32>udt_name: Option<String>

Implementations

Available on crate feature parser only.

Trait Implementations

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 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.