pub struct RelationKey(/* private fields */);Expand description
A related-key lookup value.
Keys are normalised to text so that a u64 primary key and the u64
foreign key pointing at it agree, whichever integer width each side’s driver
hands back. Two different columns are never compared, so the normalisation
cannot conflate unrelated rows.
Implementations§
Trait Implementations§
Source§impl Clone for RelationKey
impl Clone for RelationKey
Source§fn clone(&self) -> RelationKey
fn clone(&self) -> RelationKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RelationKey
impl Debug for RelationKey
Source§impl Display for RelationKey
impl Display for RelationKey
impl Eq for RelationKey
Source§impl Hash for RelationKey
impl Hash for RelationKey
Source§impl Ord for RelationKey
impl Ord for RelationKey
Source§fn cmp(&self, other: &RelationKey) -> Ordering
fn cmp(&self, other: &RelationKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RelationKey
impl PartialEq for RelationKey
Source§impl PartialOrd for RelationKey
impl PartialOrd for RelationKey
impl StructuralPartialEq for RelationKey
Auto Trait Implementations§
impl Freeze for RelationKey
impl RefUnwindSafe for RelationKey
impl Send for RelationKey
impl Sync for RelationKey
impl Unpin for RelationKey
impl UnsafeUnpin for RelationKey
impl UnwindSafe for RelationKey
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> Event for T
impl<T> Event for T
Source§fn event_name() -> &'static strwhere
Self: Sized,
fn event_name() -> &'static strwhere
Self: Sized,
A human-readable name, used by wildcard listeners and log output.
Always the Rust type path; see the trait docs.