pub struct TxBlockPosition { /* private fields */ }
Expand description
The unique identifier of a transaction on the blockchain in terms of the hash of the block that includes it and the index of the transaction within the block.
Implementations§
Trait Implementations§
Source§impl Clone for TxBlockPosition
impl Clone for TxBlockPosition
Source§fn clone(&self) -> TxBlockPosition
fn clone(&self) -> TxBlockPosition
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 TxBlockPosition
impl Debug for TxBlockPosition
Source§impl From<TxBlockPosition> for CBOR
impl From<TxBlockPosition> for CBOR
Source§fn from(value: TxBlockPosition) -> Self
fn from(value: TxBlockPosition) -> Self
Converts to this type from the input type.
Source§impl From<TxBlockPosition> for Envelope
impl From<TxBlockPosition> for Envelope
Source§fn from(value: TxBlockPosition) -> Self
fn from(value: TxBlockPosition) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TxBlockPosition
impl PartialEq for TxBlockPosition
Source§impl TryFrom<CBOR> for TxBlockPosition
impl TryFrom<CBOR> for TxBlockPosition
Source§impl TryFrom<Envelope> for TxBlockPosition
impl TryFrom<Envelope> for TxBlockPosition
impl Eq for TxBlockPosition
impl StructuralPartialEq for TxBlockPosition
Auto Trait Implementations§
impl Freeze for TxBlockPosition
impl RefUnwindSafe for TxBlockPosition
impl Send for TxBlockPosition
impl Sync for TxBlockPosition
impl Unpin for TxBlockPosition
impl UnwindSafe for TxBlockPosition
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> CBORDecodable for T
impl<T> CBORDecodable for T
Source§impl<T> CBOREncodable for T
impl<T> CBOREncodable for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EnvelopeEncodable for T
impl<T> EnvelopeEncodable for T
Source§fn into_envelope(self) -> Envelope
fn into_envelope(self) -> Envelope
Converts the value into an envelope by using its Into<Envelope>
implementation.
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