pub struct TransactionOutputAmountBuilder(/* private fields */);Implementations§
Source§impl TransactionOutputAmountBuilder
impl TransactionOutputAmountBuilder
pub fn with_value(&self, amount: &Value) -> Self
pub fn with_asset_and_min_required_coin( &self, multiasset: &MultiAsset, coins_per_utxo_byte: Coin, ) -> Result<TransactionOutputAmountBuilder, JsError>
pub fn build(&self) -> Result<SingleOutputBuilderResult, JsError>
Trait Implementations§
Source§impl AsRef<TransactionOutputAmountBuilder> for TransactionOutputAmountBuilder
impl AsRef<TransactionOutputAmountBuilder> for TransactionOutputAmountBuilder
Source§fn as_ref(&self) -> &TransactionOutputAmountBuilder
fn as_ref(&self) -> &TransactionOutputAmountBuilder
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for TransactionOutputAmountBuilder
impl Clone for TransactionOutputAmountBuilder
Source§fn clone(&self) -> TransactionOutputAmountBuilder
fn clone(&self) -> TransactionOutputAmountBuilder
Returns a duplicate 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<TransactionOutputAmountBuilder> for JsValue
impl From<TransactionOutputAmountBuilder> for JsValue
Source§fn from(value: TransactionOutputAmountBuilder) -> Self
fn from(value: TransactionOutputAmountBuilder) -> Self
Converts to this type from the input type.
Source§impl From<TransactionOutputAmountBuilder> for TransactionOutputAmountBuilder
impl From<TransactionOutputAmountBuilder> for TransactionOutputAmountBuilder
Source§fn from(native: TransactionOutputAmountBuilder) -> Self
fn from(native: TransactionOutputAmountBuilder) -> Self
Converts to this type from the input type.
Source§impl Into<TransactionOutputAmountBuilder> for TransactionOutputAmountBuilder
impl Into<TransactionOutputAmountBuilder> for TransactionOutputAmountBuilder
Source§fn into(self) -> TransactionOutputAmountBuilder
fn into(self) -> TransactionOutputAmountBuilder
Converts this type into the (usually inferred) input type.
Source§impl RefFromWasmAbi for TransactionOutputAmountBuilder
impl RefFromWasmAbi for TransactionOutputAmountBuilder
Source§type Anchor = RcRef<TransactionOutputAmountBuilder>
type Anchor = RcRef<TransactionOutputAmountBuilder>
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.Source§impl VectorFromWasmAbi for TransactionOutputAmountBuilder
impl VectorFromWasmAbi for TransactionOutputAmountBuilder
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: Self::Abi, ) -> Box<[TransactionOutputAmountBuilder]>
Source§impl VectorIntoJsValue for TransactionOutputAmountBuilder
impl VectorIntoJsValue for TransactionOutputAmountBuilder
fn vector_into_jsvalue(vector: Box<[TransactionOutputAmountBuilder]>) -> JsValue
Source§impl VectorIntoWasmAbi for TransactionOutputAmountBuilder
impl VectorIntoWasmAbi for TransactionOutputAmountBuilder
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TransactionOutputAmountBuilder]>) -> Self::Abi
Source§impl WasmDescribeVector for TransactionOutputAmountBuilder
impl WasmDescribeVector for TransactionOutputAmountBuilder
impl SupportsConstructor for TransactionOutputAmountBuilder
impl SupportsInstanceProperty for TransactionOutputAmountBuilder
impl SupportsStaticProperty for TransactionOutputAmountBuilder
Auto Trait Implementations§
impl Freeze for TransactionOutputAmountBuilder
impl RefUnwindSafe for TransactionOutputAmountBuilder
impl Send for TransactionOutputAmountBuilder
impl Sync for TransactionOutputAmountBuilder
impl Unpin for TransactionOutputAmountBuilder
impl UnwindSafe for TransactionOutputAmountBuilder
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<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,
Source§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.