Struct sea_schema::postgres::query::column::ColumnQueryResult
source · [−]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: String
column_type: String
column_default: Option<String>
column_generated: Option<String>
is_nullable: String
is_identity: String
numeric_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
sourceimpl ColumnQueryResult
impl ColumnQueryResult
pub fn parse(self) -> ColumnInfo
Available on crate feature
parser
only.Trait Implementations
sourceimpl Debug for ColumnQueryResult
impl Debug for ColumnQueryResult
sourceimpl Default for ColumnQueryResult
impl Default for ColumnQueryResult
sourcefn default() -> ColumnQueryResult
fn default() -> ColumnQueryResult
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ColumnQueryResult
impl Send for ColumnQueryResult
impl Sync for ColumnQueryResult
impl Unpin for ColumnQueryResult
impl UnwindSafe for ColumnQueryResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more