Struct cml_chain::builders::mint_builder::SingleMintBuilder
source · pub struct SingleMintBuilder { /* private fields */ }Implementations§
source§impl SingleMintBuilder
impl SingleMintBuilder
pub fn new(assets: OrderedHashMap<AssetName, i64>) -> Self
pub fn new_single_asset(asset: AssetName, amount: i64) -> Self
pub fn native_script( self, native_script: NativeScript, witness_info: NativeScriptWitnessInfo ) -> MintBuilderResult
pub fn plutus_script( self, partial_witness: PartialPlutusWitness, required_signers: RequiredSigners ) -> MintBuilderResult
Trait Implementations§
source§impl Clone for SingleMintBuilder
impl Clone for SingleMintBuilder
source§fn clone(&self) -> SingleMintBuilder
fn clone(&self) -> SingleMintBuilder
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 moreAuto Trait Implementations§
impl Freeze for SingleMintBuilder
impl RefUnwindSafe for SingleMintBuilder
impl Send for SingleMintBuilder
impl Sync for SingleMintBuilder
impl Unpin for SingleMintBuilder
impl UnwindSafe for SingleMintBuilder
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> 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