Enum plutus_ledger_api::v1::transaction::DCert
source · pub enum DCert {
DelegRegKey(StakingCredential),
DelegDeRegKey(StakingCredential),
DelegDelegate(StakingCredential, PaymentPubKeyHash),
PoolRegister(PaymentPubKeyHash, PaymentPubKeyHash),
PoolRetire(PaymentPubKeyHash, BigInt),
Genesis,
Mir,
}
Expand description
Partial representation of digests of certificates on the ledger.
Variants§
DelegRegKey(StakingCredential)
DelegDeRegKey(StakingCredential)
DelegDelegate(StakingCredential, PaymentPubKeyHash)
PoolRegister(PaymentPubKeyHash, PaymentPubKeyHash)
A digest of the PoolParam
PoolRetire(PaymentPubKeyHash, BigInt)
Genesis
Mir
Trait Implementations§
source§impl IsPlutusData for DCert
impl IsPlutusData for DCert
fn to_plutus_data(&self) -> PlutusData
fn from_plutus_data(data: &PlutusData) -> Result<Self, PlutusDataError>
source§impl Ord for DCert
impl Ord for DCert
source§impl PartialEq for DCert
impl PartialEq for DCert
source§impl PartialOrd for DCert
impl PartialOrd for DCert
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 DCert
impl StructuralPartialEq for DCert
Auto Trait Implementations§
impl Freeze for DCert
impl RefUnwindSafe for DCert
impl Send for DCert
impl Sync for DCert
impl Unpin for DCert
impl UnwindSafe for DCert
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