pub struct MintWitness(/* private fields */);Implementations§
Source§impl MintWitness
impl MintWitness
pub fn new_native_script(native_script: &NativeScriptSource) -> 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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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§impl PartialOrd for MintWitness
impl PartialOrd for MintWitness
impl Eq for MintWitness
impl StructuralPartialEq for MintWitness
Auto Trait Implementations§
impl Freeze for MintWitness
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more