Struct fuzzy_rocks::RecordID
source · pub struct RecordID(pub usize);
Expand description
A unique identifier for a record within a Table
NOTE: although the RecordID is 64 bits, only 44 bits can be used to address records, giving a theoretical maximum of 17.6 trillion records although this crate has only been tested with about 10 million unique records, so far
Tuple Fields§
§0: usize
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for RecordID
impl<'de> Deserialize<'de> for RecordID
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
source§impl Ord for RecordID
impl Ord for RecordID
source§impl PartialEq for RecordID
impl PartialEq for RecordID
source§impl PartialOrd for RecordID
impl PartialOrd for RecordID
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for RecordID
impl Eq for RecordID
impl StructuralPartialEq for RecordID
Auto Trait Implementations§
impl Freeze for RecordID
impl RefUnwindSafe for RecordID
impl Send for RecordID
impl Sync for RecordID
impl Unpin for RecordID
impl UnwindSafe for RecordID
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