Struct plutus_ledger_api::v1::address::CertificateIndex
source · pub struct CertificateIndex(pub BigInt);
Expand description
Position of the certificate in a certain transaction
Tuple Fields§
§0: BigInt
Trait Implementations§
source§impl Clone for CertificateIndex
impl Clone for CertificateIndex
source§fn clone(&self) -> CertificateIndex
fn clone(&self) -> CertificateIndex
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 CertificateIndex
impl Debug for CertificateIndex
source§impl Hash for CertificateIndex
impl Hash for CertificateIndex
source§impl IsPlutusData for CertificateIndex
impl IsPlutusData for CertificateIndex
fn to_plutus_data(&self) -> PlutusData
fn from_plutus_data(data: &PlutusData) -> Result<Self, PlutusDataError>
source§impl Ord for CertificateIndex
impl Ord for CertificateIndex
source§fn cmp(&self, other: &CertificateIndex) -> Ordering
fn cmp(&self, other: &CertificateIndex) -> 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 CertificateIndex
impl PartialEq for CertificateIndex
source§fn eq(&self, other: &CertificateIndex) -> bool
fn eq(&self, other: &CertificateIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CertificateIndex
impl PartialOrd for CertificateIndex
source§fn partial_cmp(&self, other: &CertificateIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &CertificateIndex) -> 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 CertificateIndex
impl StructuralPartialEq for CertificateIndex
Auto Trait Implementations§
impl Freeze for CertificateIndex
impl RefUnwindSafe for CertificateIndex
impl Send for CertificateIndex
impl Sync for CertificateIndex
impl Unpin for CertificateIndex
impl UnwindSafe for CertificateIndex
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