pub struct RawConstraintDependency {
pub domain_oid: Oid,
pub reference: RawReference,
}Expand description
One pg_depend edge out of a pg_constraint row: what the constraint’s
expression names beyond the columns it constrains.
Table constraints and domain constraints share pg_constraint, so one fetch
serves both converters; domain_oid is what tells a domain’s rows apart.
Fields§
§domain_oid: Oidpg_constraint.contypid: the constrained domain, 0 for a table
constraint.
reference: RawReferenceThe edge; its source_oid is the constraint’s own OID.
Trait Implementations§
Source§impl Clone for RawConstraintDependency
impl Clone for RawConstraintDependency
Auto Trait Implementations§
impl Freeze for RawConstraintDependency
impl RefUnwindSafe for RawConstraintDependency
impl Send for RawConstraintDependency
impl Sync for RawConstraintDependency
impl Unpin for RawConstraintDependency
impl UnsafeUnpin for RawConstraintDependency
impl UnwindSafe for RawConstraintDependency
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> 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