pub struct SingleWithdrawalBuilder(/* private fields */);Implementations§
Source§impl SingleWithdrawalBuilder
impl SingleWithdrawalBuilder
pub fn new(address: &RewardAddress, amount: Coin) -> Self
pub fn payment_key(&self) -> Result<WithdrawalBuilderResult, JsError>
pub fn native_script( self, native_script: &NativeScript, witness_info: &NativeScriptWitnessInfo, ) -> Result<WithdrawalBuilderResult, JsError>
pub fn plutus_script( self, partial_witness: PartialPlutusWitness, required_signers: RequiredSigners, ) -> Result<WithdrawalBuilderResult, JsError>
Trait Implementations§
Source§impl AsRef<SingleWithdrawalBuilder> for SingleWithdrawalBuilder
impl AsRef<SingleWithdrawalBuilder> for SingleWithdrawalBuilder
Source§fn as_ref(&self) -> &SingleWithdrawalBuilder
fn as_ref(&self) -> &SingleWithdrawalBuilder
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SingleWithdrawalBuilder
impl Clone for SingleWithdrawalBuilder
Source§fn clone(&self) -> SingleWithdrawalBuilder
fn clone(&self) -> SingleWithdrawalBuilder
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<SingleWithdrawalBuilder> for JsValue
impl From<SingleWithdrawalBuilder> for JsValue
Source§fn from(value: SingleWithdrawalBuilder) -> Self
fn from(value: SingleWithdrawalBuilder) -> Self
Converts to this type from the input type.
Source§impl From<SingleWithdrawalBuilder> for SingleWithdrawalBuilder
impl From<SingleWithdrawalBuilder> for SingleWithdrawalBuilder
Source§fn from(native: SingleWithdrawalBuilder) -> Self
fn from(native: SingleWithdrawalBuilder) -> Self
Converts to this type from the input type.
Source§impl Into<SingleWithdrawalBuilder> for SingleWithdrawalBuilder
impl Into<SingleWithdrawalBuilder> for SingleWithdrawalBuilder
Source§fn into(self) -> SingleWithdrawalBuilder
fn into(self) -> SingleWithdrawalBuilder
Converts this type into the (usually inferred) input type.
Source§impl RefFromWasmAbi for SingleWithdrawalBuilder
impl RefFromWasmAbi for SingleWithdrawalBuilder
Source§type Anchor = RcRef<SingleWithdrawalBuilder>
type Anchor = RcRef<SingleWithdrawalBuilder>
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 SingleWithdrawalBuilder
impl VectorFromWasmAbi for SingleWithdrawalBuilder
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SingleWithdrawalBuilder]>
Source§impl VectorIntoJsValue for SingleWithdrawalBuilder
impl VectorIntoJsValue for SingleWithdrawalBuilder
fn vector_into_jsvalue(vector: Box<[SingleWithdrawalBuilder]>) -> JsValue
Source§impl VectorIntoWasmAbi for SingleWithdrawalBuilder
impl VectorIntoWasmAbi for SingleWithdrawalBuilder
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SingleWithdrawalBuilder]>) -> Self::Abi
Source§impl WasmDescribeVector for SingleWithdrawalBuilder
impl WasmDescribeVector for SingleWithdrawalBuilder
impl SupportsConstructor for SingleWithdrawalBuilder
impl SupportsInstanceProperty for SingleWithdrawalBuilder
impl SupportsStaticProperty for SingleWithdrawalBuilder
Auto Trait Implementations§
impl Freeze for SingleWithdrawalBuilder
impl RefUnwindSafe for SingleWithdrawalBuilder
impl Send for SingleWithdrawalBuilder
impl Sync for SingleWithdrawalBuilder
impl Unpin for SingleWithdrawalBuilder
impl UnwindSafe for SingleWithdrawalBuilder
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.