pub struct OnChainInput { /* private fields */ }Expand description
A UTXO that could have become a VTXO with the help of the Ark server, but is now unilaterally spendable by the original owner.
Implementations§
Source§impl OnChainInput
impl OnChainInput
pub fn new( boarding_output: BoardingOutput, amount: Amount, outpoint: OutPoint, ) -> Self
pub fn previous_output(&self) -> TxOut
Trait Implementations§
Source§impl Clone for OnChainInput
impl Clone for OnChainInput
Source§fn clone(&self) -> OnChainInput
fn clone(&self) -> OnChainInput
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 OnChainInput
impl Debug for OnChainInput
impl Eq for OnChainInput
Source§impl Hash for OnChainInput
impl Hash for OnChainInput
Source§impl PartialEq for OnChainInput
impl PartialEq for OnChainInput
Source§fn eq(&self, other: &OnChainInput) -> bool
fn eq(&self, other: &OnChainInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OnChainInput
Auto Trait Implementations§
impl Freeze for OnChainInput
impl RefUnwindSafe for OnChainInput
impl Send for OnChainInput
impl Sync for OnChainInput
impl Unpin for OnChainInput
impl UnsafeUnpin for OnChainInput
impl UnwindSafe for OnChainInput
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