pub struct ExtraParametersInputsSelection {
pub inputs_to_spend: Option<Vec<UnspentInput>>,
pub inputs_to_exclude: Option<Vec<UnspentInput>>,
}
Expand description
ExtraParametersInputsSelection : For UTXO based blockchains, selections of inputs for the transaction.
Fields§
§inputs_to_spend: Option<Vec<UnspentInput>>
Inputs that should be used in the transaction.
inputs_to_exclude: Option<Vec<UnspentInput>>
Inputs that shouldn’t be used in the transaction.
Implementations§
Source§impl ExtraParametersInputsSelection
impl ExtraParametersInputsSelection
Sourcepub fn new() -> ExtraParametersInputsSelection
pub fn new() -> ExtraParametersInputsSelection
For UTXO based blockchains, selections of inputs for the transaction.
Trait Implementations§
Source§impl Clone for ExtraParametersInputsSelection
impl Clone for ExtraParametersInputsSelection
Source§fn clone(&self) -> ExtraParametersInputsSelection
fn clone(&self) -> ExtraParametersInputsSelection
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 Default for ExtraParametersInputsSelection
impl Default for ExtraParametersInputsSelection
Source§fn default() -> ExtraParametersInputsSelection
fn default() -> ExtraParametersInputsSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtraParametersInputsSelection
impl<'de> Deserialize<'de> for ExtraParametersInputsSelection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExtraParametersInputsSelection
impl PartialEq for ExtraParametersInputsSelection
Source§fn eq(&self, other: &ExtraParametersInputsSelection) -> bool
fn eq(&self, other: &ExtraParametersInputsSelection) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExtraParametersInputsSelection
Auto Trait Implementations§
impl Freeze for ExtraParametersInputsSelection
impl RefUnwindSafe for ExtraParametersInputsSelection
impl Send for ExtraParametersInputsSelection
impl Sync for ExtraParametersInputsSelection
impl Unpin for ExtraParametersInputsSelection
impl UnwindSafe for ExtraParametersInputsSelection
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