pub struct BoardingOutpoints {
pub spendable: Vec<(OutPoint, Amount, BoardingOutput)>,
pub expired: Vec<(OutPoint, Amount, BoardingOutput)>,
pub pending: Vec<(OutPoint, Amount, BoardingOutput)>,
pub spent: Vec<(OutPoint, Amount)>,
}Expand description
The on-chain status of a collection of boarding outputs.
Fields§
§spendable: Vec<(OutPoint, Amount, BoardingOutput)>Boarding outputs that can be converted into VTXOs in collaboration with the Ark server.
expired: Vec<(OutPoint, Amount, BoardingOutput)>Boarding outputs that should only be spent unilaterally.
pending: Vec<(OutPoint, Amount, BoardingOutput)>Boarding outputs that are not yet confirmed on-chain.
spent: Vec<(OutPoint, Amount)>Boarding outputs that were already spent.
Implementations§
Source§impl BoardingOutpoints
impl BoardingOutpoints
pub fn spendable_balance(&self) -> Amount
pub fn expired_balance(&self) -> Amount
pub fn pending_balance(&self) -> Amount
Trait Implementations§
Source§impl Clone for BoardingOutpoints
impl Clone for BoardingOutpoints
Source§fn clone(&self) -> BoardingOutpoints
fn clone(&self) -> BoardingOutpoints
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoardingOutpoints
impl Debug for BoardingOutpoints
Source§impl Default for BoardingOutpoints
impl Default for BoardingOutpoints
Source§fn default() -> BoardingOutpoints
fn default() -> BoardingOutpoints
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BoardingOutpoints
impl RefUnwindSafe for BoardingOutpoints
impl Send for BoardingOutpoints
impl Sync for BoardingOutpoints
impl Unpin for BoardingOutpoints
impl UnsafeUnpin for BoardingOutpoints
impl UnwindSafe for BoardingOutpoints
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