pub struct PostgresSqlConstraint {
pub kind: PostgresSqlConstraintKind,
pub span: Option<PostgresSqlSpan>,
pub name: Option<PostgresSqlIdentifier>,
pub columns: Vec<PostgresSqlIdentifier>,
pub expression: Option<PostgresSqlExpression>,
pub referenced_table: Option<PostgresSqlName>,
pub referenced_columns: Vec<PostgresSqlIdentifier>,
pub on_delete: Option<String>,
pub on_update: Option<String>,
pub characteristics: Option<String>,
pub sql: String,
}Fields§
§kind: PostgresSqlConstraintKind§span: Option<PostgresSqlSpan>§name: Option<PostgresSqlIdentifier>§columns: Vec<PostgresSqlIdentifier>§expression: Option<PostgresSqlExpression>§referenced_table: Option<PostgresSqlName>§referenced_columns: Vec<PostgresSqlIdentifier>§on_delete: Option<String>§on_update: Option<String>§characteristics: Option<String>§sql: StringTrait Implementations§
Source§impl Clone for PostgresSqlConstraint
impl Clone for PostgresSqlConstraint
Source§impl Debug for PostgresSqlConstraint
impl Debug for PostgresSqlConstraint
impl Eq for PostgresSqlConstraint
Source§impl PartialEq for PostgresSqlConstraint
impl PartialEq for PostgresSqlConstraint
Source§impl Serialize for PostgresSqlConstraint
impl Serialize for PostgresSqlConstraint
impl StructuralPartialEq for PostgresSqlConstraint
Auto Trait Implementations§
impl Forget for PostgresSqlConstraint
impl Freeze for PostgresSqlConstraintwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PostgresSqlIdentifier>: Freeze,
PhantomData<PostgresSqlName>: Freeze,
PhantomData<PostgresSqlFunctionReference>: Freeze,
PhantomData<PostgresSqlCallArgument>: Freeze,
PhantomData<String>: Freeze,
*const PostgresSqlExpressionRoot is !null: Freeze,
PhantomData<PostgresSqlExpressionRoot>: Freeze,
PhantomData<Option<u64>>: Freeze,
PhantomData<PostgresSqlColumn>: Freeze,
PhantomData<PostgresSqlExpressionChild>: Freeze,
impl Move for PostgresSqlConstraint
impl RefUnwindSafe for PostgresSqlConstraint
impl Send for PostgresSqlConstraint
impl Sync for PostgresSqlConstraint
impl Unpin for PostgresSqlConstraint
impl UnsafeUnpin for PostgresSqlConstraintwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PostgresSqlIdentifier>: UnsafeUnpin,
PhantomData<PostgresSqlName>: UnsafeUnpin,
PhantomData<PostgresSqlFunctionReference>: UnsafeUnpin,
PhantomData<PostgresSqlCallArgument>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const PostgresSqlExpressionRoot is !null: UnsafeUnpin,
PhantomData<PostgresSqlExpressionRoot>: UnsafeUnpin,
PhantomData<Option<u64>>: UnsafeUnpin,
PhantomData<PostgresSqlColumn>: UnsafeUnpin,
PhantomData<PostgresSqlExpressionChild>: UnsafeUnpin,
impl UnwindSafe for PostgresSqlConstraint
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