Struct cml_chain_wasm::builders::mint_builder::SingleMintBuilder
source · pub struct SingleMintBuilder(/* private fields */);Implementations§
source§impl SingleMintBuilder
impl SingleMintBuilder
pub fn new(assets: &MapAssetNameToNonZeroInt64) -> 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 AsRef<SingleMintBuilder> for SingleMintBuilder
impl AsRef<SingleMintBuilder> for SingleMintBuilder
source§fn as_ref(&self) -> &SingleMintBuilder
fn as_ref(&self) -> &SingleMintBuilder
Converts this type into a shared reference of the (usually inferred) input type.
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 moresource§impl From<SingleMintBuilder> for JsValue
impl From<SingleMintBuilder> for JsValue
source§fn from(value: SingleMintBuilder) -> Self
fn from(value: SingleMintBuilder) -> Self
Converts to this type from the input type.
source§impl From<SingleMintBuilder> for SingleMintBuilder
impl From<SingleMintBuilder> for SingleMintBuilder
source§fn from(native: SingleMintBuilder) -> Self
fn from(native: SingleMintBuilder) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for SingleMintBuilder
impl FromWasmAbi for SingleMintBuilder
source§impl Into<SingleMintBuilder> for SingleMintBuilder
impl Into<SingleMintBuilder> for SingleMintBuilder
source§fn into(self) -> SingleMintBuilder
fn into(self) -> SingleMintBuilder
Converts this type into the (usually inferred) input type.
source§impl IntoWasmAbi for SingleMintBuilder
impl IntoWasmAbi for SingleMintBuilder
source§impl RefFromWasmAbi for SingleMintBuilder
impl RefFromWasmAbi for SingleMintBuilder
§type Anchor = Ref<'static, SingleMintBuilder>
type Anchor = Ref<'static, SingleMintBuilder>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Auto 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 moresource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abisource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.