Struct near_sdk::PromiseIndex
source · pub struct PromiseIndex(/* private fields */);
Expand description
Promise index that is computed only once.
Trait Implementations§
source§impl Clone for PromiseIndex
impl Clone for PromiseIndex
source§fn clone(&self) -> PromiseIndex
fn clone(&self) -> PromiseIndex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PromiseIndex
impl Debug for PromiseIndex
source§impl Hash for PromiseIndex
impl Hash for PromiseIndex
source§impl Ord for PromiseIndex
impl Ord for PromiseIndex
source§fn cmp(&self, other: &PromiseIndex) -> Ordering
fn cmp(&self, other: &PromiseIndex) -> Ordering
1.21.0 · 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 PartialEq for PromiseIndex
impl PartialEq for PromiseIndex
source§fn eq(&self, other: &PromiseIndex) -> bool
fn eq(&self, other: &PromiseIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PromiseIndex
impl PartialOrd for PromiseIndex
source§fn partial_cmp(&self, other: &PromiseIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &PromiseIndex) -> Option<Ordering>
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 PromiseIndex
impl Eq for PromiseIndex
impl StructuralPartialEq for PromiseIndex
Auto Trait Implementations§
impl Freeze for PromiseIndex
impl RefUnwindSafe for PromiseIndex
impl Send for PromiseIndex
impl Sync for PromiseIndex
impl Unpin for PromiseIndex
impl UnwindSafe for PromiseIndex
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