Struct plutus_ledger_api::v1::address::ChainPointer
source · pub struct ChainPointer {
pub slot_number: Slot,
pub transaction_index: TransactionIndex,
pub certificate_index: CertificateIndex,
}
Expand description
In an address, a chain pointer refers to a point of the chain containing a stake key registration certificate. A point is identified by 3 coordinates:
- An absolute slot number
- A transaction inder (within that slot)
- A (delegation) certificate index (within that transacton)
Fields§
§slot_number: Slot
§transaction_index: TransactionIndex
§certificate_index: CertificateIndex
Trait Implementations§
source§impl Clone for ChainPointer
impl Clone for ChainPointer
source§fn clone(&self) -> ChainPointer
fn clone(&self) -> ChainPointer
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 ChainPointer
impl Debug for ChainPointer
source§impl Hash for ChainPointer
impl Hash for ChainPointer
source§impl Ord for ChainPointer
impl Ord for ChainPointer
source§fn cmp(&self, other: &ChainPointer) -> Ordering
fn cmp(&self, other: &ChainPointer) -> 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 ChainPointer
impl PartialEq for ChainPointer
source§fn eq(&self, other: &ChainPointer) -> bool
fn eq(&self, other: &ChainPointer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ChainPointer
impl PartialOrd for ChainPointer
source§fn partial_cmp(&self, other: &ChainPointer) -> Option<Ordering>
fn partial_cmp(&self, other: &ChainPointer) -> 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 ChainPointer
impl StructuralPartialEq for ChainPointer
Auto Trait Implementations§
impl Freeze for ChainPointer
impl RefUnwindSafe for ChainPointer
impl Send for ChainPointer
impl Sync for ChainPointer
impl Unpin for ChainPointer
impl UnwindSafe for ChainPointer
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