pub struct NodeKey(pub u64);Expand description
External node key supplied by a registered table row.
Encodes (table_id, primary_key) as (table_id << 32) | primary_key so keys from
different registered tables remain distinct at build time.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for NodeKey
Source§impl<'de> Deserialize<'de> for NodeKey
impl<'de> Deserialize<'de> for NodeKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NodeKey
Source§impl Ord for NodeKey
impl Ord for NodeKey
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 PartialOrd for NodeKey
impl PartialOrd for NodeKey
impl StructuralPartialEq for NodeKey
Auto Trait Implementations§
impl Freeze for NodeKey
impl RefUnwindSafe for NodeKey
impl Send for NodeKey
impl Sync for NodeKey
impl Unpin for NodeKey
impl UnsafeUnpin for NodeKey
impl UnwindSafe for NodeKey
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