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