pub enum PointId {
String(String),
UInt(u64),
}Expand description
A typed point identifier.
String and unsigned-integer IDs occupy distinct namespaces and have a stable canonical ordering used to break equal-score query ties.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PointId
impl<'de> Deserialize<'de> for PointId
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 PointId
Source§impl Ord for PointId
impl Ord for PointId
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 PointId
impl PartialOrd for PointId
impl StructuralPartialEq for PointId
Auto Trait Implementations§
impl Freeze for PointId
impl RefUnwindSafe for PointId
impl Send for PointId
impl Sync for PointId
impl Unpin for PointId
impl UnsafeUnpin for PointId
impl UnwindSafe for PointId
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