pub struct PostgresSqlColumn {
pub name: PostgresSqlIdentifier,
pub data_type: PostgresSqlType,
pub nullable: bool,
pub default: Option<PostgresSqlExpression>,
pub generated: Option<PostgresSqlGeneratedColumn>,
pub identity: Option<PostgresSqlIdentityColumn>,
pub constraints: Vec<PostgresSqlConstraint>,
pub span: Option<PostgresSqlSpan>,
}Fields§
§name: PostgresSqlIdentifier§data_type: PostgresSqlType§nullable: bool§default: Option<PostgresSqlExpression>§generated: Option<PostgresSqlGeneratedColumn>§identity: Option<PostgresSqlIdentityColumn>§constraints: Vec<PostgresSqlConstraint>§span: Option<PostgresSqlSpan>Trait Implementations§
Source§impl Clone for PostgresSqlColumn
impl Clone for PostgresSqlColumn
Source§impl Debug for PostgresSqlColumn
impl Debug for PostgresSqlColumn
impl Eq for PostgresSqlColumn
Source§impl PartialEq for PostgresSqlColumn
impl PartialEq for PostgresSqlColumn
Source§impl Serialize for PostgresSqlColumn
impl Serialize for PostgresSqlColumn
impl StructuralPartialEq for PostgresSqlColumn
Auto Trait Implementations§
impl Forget for PostgresSqlColumn
impl Freeze for PostgresSqlColumnwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PostgresSqlIdentifier>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Option<u64>>: Freeze,
PhantomData<PostgresSqlColumn>: Freeze,
PhantomData<PostgresSqlName>: Freeze,
PhantomData<PostgresSqlFunctionReference>: Freeze,
PhantomData<PostgresSqlCallArgument>: Freeze,
*const PostgresSqlExpressionRoot is !null: Freeze,
PhantomData<PostgresSqlExpressionRoot>: Freeze,
PhantomData<PostgresSqlExpressionChild>: Freeze,
PhantomData<PostgresSqlConstraint>: Freeze,
impl Move for PostgresSqlColumn
impl RefUnwindSafe for PostgresSqlColumn
impl Send for PostgresSqlColumn
impl Sync for PostgresSqlColumn
impl Unpin for PostgresSqlColumn
impl UnsafeUnpin for PostgresSqlColumnwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PostgresSqlIdentifier>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Option<u64>>: UnsafeUnpin,
PhantomData<PostgresSqlColumn>: UnsafeUnpin,
PhantomData<PostgresSqlName>: UnsafeUnpin,
PhantomData<PostgresSqlFunctionReference>: UnsafeUnpin,
PhantomData<PostgresSqlCallArgument>: UnsafeUnpin,
*const PostgresSqlExpressionRoot is !null: UnsafeUnpin,
PhantomData<PostgresSqlExpressionRoot>: UnsafeUnpin,
PhantomData<PostgresSqlExpressionChild>: UnsafeUnpin,
PhantomData<PostgresSqlConstraint>: UnsafeUnpin,
impl UnwindSafe for PostgresSqlColumn
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