pub struct SqlColumnMetadata {
pub name: String,
pub type_name: Option<String>,
pub constraints: Vec<String>,
pub is_primary_key: bool,
pub is_generated: bool,
pub generated_expression: Option<String>,
pub generated_function: Option<String>,
pub generated_function_arg_columns: Vec<String>,
pub generated_source_columns: Vec<String>,
}Expand description
Column facts later generated-column and lock-ordering rules can query.
Fields§
§name: String§type_name: Option<String>§constraints: Vec<String>§is_primary_key: bool§is_generated: bool§generated_expression: Option<String>§generated_function: Option<String>§generated_function_arg_columns: Vec<String>§generated_source_columns: Vec<String>Trait Implementations§
Source§impl Clone for SqlColumnMetadata
impl Clone for SqlColumnMetadata
Source§impl Debug for SqlColumnMetadata
impl Debug for SqlColumnMetadata
impl Eq for SqlColumnMetadata
Source§impl PartialEq for SqlColumnMetadata
impl PartialEq for SqlColumnMetadata
impl StructuralPartialEq for SqlColumnMetadata
Auto Trait Implementations§
impl Forget for SqlColumnMetadata
impl Freeze for SqlColumnMetadata
impl Move for SqlColumnMetadata
impl RefUnwindSafe for SqlColumnMetadata
impl Send for SqlColumnMetadatawhere
RawVecInner: Send,
impl Sync for SqlColumnMetadatawhere
RawVecInner: Sync,
impl Unpin for SqlColumnMetadata
impl UnsafeUnpin for SqlColumnMetadatawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SqlColumnMetadatawhere
RawVecInner: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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