pub struct ColumnRow {
pub table_name: String,
pub column_name: String,
pub ordinal_position: i32,
pub is_nullable: String,
pub data_type: String,
pub numeric_precision: Option<i32>,
pub numeric_scale: Option<i32>,
pub inner_type: Option<String>,
pub primary_key: bool,
pub generation_time: Option<String>,
pub generation_expression: Option<String>,
pub identity_generation: Option<String>,
}Fields§
§table_name: String§column_name: String§ordinal_position: i32§is_nullable: String§data_type: String§numeric_precision: Option<i32>§numeric_scale: Option<i32>§inner_type: Option<String>§primary_key: bool§generation_time: Option<String>§generation_expression: Option<String>§identity_generation: Option<String>Trait Implementations§
Source§impl<'a, R: Row> FromRow<'a, R> for ColumnRowwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for ColumnRowwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for ColumnRow
impl RefUnwindSafe for ColumnRow
impl Send for ColumnRow
impl Sync for ColumnRow
impl Unpin for ColumnRow
impl UnwindSafe for ColumnRow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more