Struct ergo_lib::wallet::box_selector::BoxSelection [−][src]
pub struct BoxSelection<T: ErgoBoxAssets> { pub boxes: Vec<T>, pub change_boxes: Vec<ErgoBoxAssetsData>, }
Expand description
Selected boxes (by BoxSelector
)
Fields
boxes: Vec<T>
Selected boxes to spend as transaction inputs
change_boxes: Vec<ErgoBoxAssetsData>
box assets with returning change amounts (to be put in tx outputs)
Trait Implementations
impl<T: Clone + ErgoBoxAssets> Clone for BoxSelection<T>
[src]
impl<T: Clone + ErgoBoxAssets> Clone for BoxSelection<T>
[src]fn clone(&self) -> BoxSelection<T>
[src]
fn clone(&self) -> BoxSelection<T>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<T: Debug + ErgoBoxAssets> Debug for BoxSelection<T>
[src]
impl<T: Debug + ErgoBoxAssets> Debug for BoxSelection<T>
[src]impl<T: PartialEq + ErgoBoxAssets> PartialEq<BoxSelection<T>> for BoxSelection<T>
[src]
impl<T: PartialEq + ErgoBoxAssets> PartialEq<BoxSelection<T>> for BoxSelection<T>
[src]fn eq(&self, other: &BoxSelection<T>) -> bool
[src]
fn eq(&self, other: &BoxSelection<T>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &BoxSelection<T>) -> bool
[src]
fn ne(&self, other: &BoxSelection<T>) -> bool
[src]This method tests for !=
.
impl<T: Eq + ErgoBoxAssets> Eq for BoxSelection<T>
[src]
impl<T: ErgoBoxAssets> StructuralEq for BoxSelection<T>
[src]
impl<T: ErgoBoxAssets> StructuralPartialEq for BoxSelection<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for BoxSelection<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for BoxSelection<T> where
T: Send,
T: Send,
impl<T> Sync for BoxSelection<T> where
T: Sync,
T: Sync,
impl<T> Unpin for BoxSelection<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for BoxSelection<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<F> TryExtractInto<F> for F
[src]
impl<F> TryExtractInto<F> for F
[src]pub fn try_extract_into<T>(self) -> Result<T, TryExtractFromError> where
T: TryExtractFrom<F>,
[src]
pub fn try_extract_into<T>(self) -> Result<T, TryExtractFromError> where
T: TryExtractFrom<F>,
[src]Extract value of the given type from any type (e.g. [‘Constant’], super::value::Value
)
on which TryExtractFrom
is implemented Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,