pub struct TransactionPointer {
pub slot: Slot,
pub transaction_index: usize,
}Fields§
§slot: Slot§transaction_index: usizeTrait Implementations§
Source§impl Clone for TransactionPointer
impl Clone for TransactionPointer
Source§fn clone(&self) -> TransactionPointer
fn clone(&self) -> TransactionPointer
Returns a duplicate 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 TransactionPointer
impl Debug for TransactionPointer
Source§impl<'b, C> Decode<'b, C> for TransactionPointer
impl<'b, C> Decode<'b, C> for TransactionPointer
Source§impl Default for TransactionPointer
impl Default for TransactionPointer
Source§fn default() -> TransactionPointer
fn default() -> TransactionPointer
Returns the “default value” for a type. Read more
Source§impl Display for TransactionPointer
impl Display for TransactionPointer
Source§impl<C> Encode<C> for TransactionPointer
impl<C> Encode<C> for TransactionPointer
Source§impl Ord for TransactionPointer
impl Ord for TransactionPointer
Source§fn cmp(&self, other: &TransactionPointer) -> Ordering
fn cmp(&self, other: &TransactionPointer) -> 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 TransactionPointer
impl PartialEq for TransactionPointer
Source§impl PartialOrd for TransactionPointer
impl PartialOrd for TransactionPointer
impl Copy for TransactionPointer
impl Eq for TransactionPointer
impl StructuralPartialEq for TransactionPointer
Auto Trait Implementations§
impl Freeze for TransactionPointer
impl RefUnwindSafe for TransactionPointer
impl Send for TransactionPointer
impl Sync for TransactionPointer
impl Unpin for TransactionPointer
impl UnsafeUnpin for TransactionPointer
impl UnwindSafe for TransactionPointer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more