Struct cardano_serialization_lib::MintWitness 
source · pub struct MintWitness(/* private fields */);Implementations§
source§impl MintWitness
 
impl MintWitness
pub fn new_native_script(native_script: &NativeScript) -> MintWitness
pub fn new_plutus_script( plutus_script: &PlutusScriptSource, redeemer: &Redeemer ) -> MintWitness
Trait Implementations§
source§impl Clone for MintWitness
 
impl Clone for MintWitness
source§fn clone(&self) -> MintWitness
 
fn clone(&self) -> MintWitness
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 MintWitness
 
impl Debug for MintWitness
source§impl Ord for MintWitness
 
impl Ord for MintWitness
source§fn cmp(&self, other: &MintWitness) -> Ordering
 
fn cmp(&self, other: &MintWitness) -> 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 MintWitness
 
impl PartialEq for MintWitness
source§fn eq(&self, other: &MintWitness) -> bool
 
fn eq(&self, other: &MintWitness) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for MintWitness
 
impl PartialOrd for MintWitness
source§fn partial_cmp(&self, other: &MintWitness) -> Option<Ordering>
 
fn partial_cmp(&self, other: &MintWitness) -> 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 MintWitness
impl StructuralEq for MintWitness
impl StructuralPartialEq for MintWitness
Auto Trait Implementations§
impl RefUnwindSafe for MintWitness
impl Send for MintWitness
impl Sync for MintWitness
impl Unpin for MintWitness
impl UnwindSafe for MintWitness
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