pub struct ConstraintRecord {
pub constraint_id: ConstraintId,
pub kind: ConstraintKind,
pub state: ConstraintState,
pub revision: u64,
pub last_modified_micros: u64,
}Expand description
Persisted constraint record stored in the system catalog.
Fields§
§constraint_id: ConstraintId§kind: ConstraintKind§state: ConstraintState§revision: u64Monotonic revision counter maintained by the metadata manager.
last_modified_micros: u64Timestamp (microseconds since epoch) when this record was last updated.
Implementations§
Trait Implementations§
Source§impl Clone for ConstraintRecord
impl Clone for ConstraintRecord
Source§fn clone(&self) -> ConstraintRecord
fn clone(&self) -> ConstraintRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConstraintRecord
impl Debug for ConstraintRecord
Source§impl PartialEq for ConstraintRecord
impl PartialEq for ConstraintRecord
impl<'__de> Decode<'__de> for ConstraintRecordwhere
'__de:,
impl Encode for ConstraintRecord
impl Eq for ConstraintRecord
impl StructuralPartialEq for ConstraintRecord
Auto Trait Implementations§
impl Freeze for ConstraintRecord
impl RefUnwindSafe for ConstraintRecord
impl Send for ConstraintRecord
impl Sync for ConstraintRecord
impl Unpin for ConstraintRecord
impl UnwindSafe for ConstraintRecord
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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