pub struct IndexId { /* private fields */ }
Expand description
Unique identifier of an index
Trait Implementations
sourceimpl Ord for IndexId
impl Ord for IndexId
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<IndexId> for IndexId
impl PartialEq<IndexId> for IndexId
sourceimpl PartialOrd<IndexId> for IndexId
impl PartialOrd<IndexId> for IndexId
sourcefn partial_cmp(&self, other: &IndexId) -> Option<Ordering>
fn partial_cmp(&self, other: &IndexId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl ToIndexId for &IndexId
impl ToIndexId for &IndexId
fn to_index_id(self, address: &Address) -> Result<IndexId, IndexError>
fn to_index_id_tx(
self,
persy: &PersyImpl,
tx: &TransactionImpl
) -> Result<(IndexId, bool), IndexError>
fn to_index_id_snapshot(
self,
snapshots: &Snapshots,
snapshot: u64
) -> Result<IndexId, IndexError>
sourceimpl ToIndexId for IndexId
impl ToIndexId for IndexId
fn to_index_id(self, address: &Address) -> Result<IndexId, IndexError>
fn to_index_id_snapshot(
self,
snapshots: &Snapshots,
snapshot: u64
) -> Result<IndexId, IndexError>
fn to_index_id_tx(
self,
persy: &PersyImpl,
tx: &TransactionImpl
) -> Result<(IndexId, bool), IndexError>
impl Eq for IndexId
impl StructuralEq for IndexId
impl StructuralPartialEq for IndexId
Auto Trait Implementations
impl RefUnwindSafe for IndexId
impl Send for IndexId
impl Sync for IndexId
impl Unpin for IndexId
impl UnwindSafe for IndexId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more