pub struct UrlKey(pub u64);Expand description
Durable identity of a document node: xxh3 of its canonical URL.
When the bridge feature is enabled this is produced from link-r’s
canonicalization; standalone callers must pass an already-canonical URL
string to UrlKey::of (graph-r deliberately does not re-implement URL
canonicalization — one recipe, one owner).
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for UrlKey
impl Eq for UrlKey
Source§impl Ord for UrlKey
impl Ord for UrlKey
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for UrlKey
impl PartialOrd for UrlKey
impl StructuralPartialEq for UrlKey
Auto Trait Implementations§
impl Freeze for UrlKey
impl RefUnwindSafe for UrlKey
impl Send for UrlKey
impl Sync for UrlKey
impl Unpin for UrlKey
impl UnsafeUnpin for UrlKey
impl UnwindSafe for UrlKey
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