pub struct UniqueClaim {
pub value: Vec<u8>,
pub order: ClaimOrder,
}Expand description
One unique value and the latest claim order of its current input setters.
Fields§
§value: Vec<u8>Canonical equality encoding of the whole value: text compares by bytes, since unique index terms are BINARY (§9.2). Non-conflicting nulls make no claim.
order: ClaimOrderThe latest winning setter of any of the constraint’s columns (§9.2).
Trait Implementations§
Source§impl Clone for UniqueClaim
impl Clone for UniqueClaim
Source§fn clone(&self) -> UniqueClaim
fn clone(&self) -> UniqueClaim
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 UniqueClaim
impl Debug for UniqueClaim
Source§impl PartialEq for UniqueClaim
impl PartialEq for UniqueClaim
impl Eq for UniqueClaim
impl StructuralPartialEq for UniqueClaim
Auto Trait Implementations§
impl Freeze for UniqueClaim
impl RefUnwindSafe for UniqueClaim
impl Send for UniqueClaim
impl Sync for UniqueClaim
impl Unpin for UniqueClaim
impl UnsafeUnpin for UniqueClaim
impl UnwindSafe for UniqueClaim
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more