pub struct OwnedTransactionIndexCursor {
pub block_height: BlockHeight,
pub tx_idx: TransactionIndex,
}
Fields§
§block_height: BlockHeight
§tx_idx: TransactionIndex
Trait Implementations§
source§impl Clone for OwnedTransactionIndexCursor
impl Clone for OwnedTransactionIndexCursor
source§fn clone(&self) -> OwnedTransactionIndexCursor
fn clone(&self) -> OwnedTransactionIndexCursor
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 OwnedTransactionIndexCursor
impl Debug for OwnedTransactionIndexCursor
source§impl From<OwnedTransactionIndexCursor> for Vec<u8>
impl From<OwnedTransactionIndexCursor> for Vec<u8>
source§fn from(cursor: OwnedTransactionIndexCursor) -> Self
fn from(cursor: OwnedTransactionIndexCursor) -> Self
Converts to this type from the input type.
source§impl From<OwnedTransactionIndexKey> for OwnedTransactionIndexCursor
impl From<OwnedTransactionIndexKey> for OwnedTransactionIndexCursor
source§fn from(key: OwnedTransactionIndexKey) -> Self
fn from(key: OwnedTransactionIndexKey) -> Self
Converts to this type from the input type.
source§impl PartialEq<OwnedTransactionIndexCursor> for OwnedTransactionIndexCursor
impl PartialEq<OwnedTransactionIndexCursor> for OwnedTransactionIndexCursor
source§fn eq(&self, other: &OwnedTransactionIndexCursor) -> bool
fn eq(&self, other: &OwnedTransactionIndexCursor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<OwnedTransactionIndexCursor> for OwnedTransactionIndexCursor
impl PartialOrd<OwnedTransactionIndexCursor> for OwnedTransactionIndexCursor
source§fn partial_cmp(&self, other: &OwnedTransactionIndexCursor) -> Option<Ordering>
fn partial_cmp(&self, other: &OwnedTransactionIndexCursor) -> 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 Eq for OwnedTransactionIndexCursor
impl StructuralEq for OwnedTransactionIndexCursor
impl StructuralPartialEq for OwnedTransactionIndexCursor
Auto Trait Implementations§
impl RefUnwindSafe for OwnedTransactionIndexCursor
impl Send for OwnedTransactionIndexCursor
impl Sync for OwnedTransactionIndexCursor
impl Unpin for OwnedTransactionIndexCursor
impl UnwindSafe for OwnedTransactionIndexCursor
Blanket Implementations§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.