pub struct OnChainInput { /* private fields */ }Expand description
A UTXO that is primed to become a VTXO. Alternatively, the owner of this UTXO may decide to spend it into a vanilla UTXO.
Only UTXOs with a particular script (involving an Ark server) can become VTXOs.
Implementations§
Source§impl OnChainInput
impl OnChainInput
pub fn new( boarding_output: BoardingOutput, amount: Amount, outpoint: OutPoint, ) -> Self
pub fn boarding_output(&self) -> &BoardingOutput
pub fn amount(&self) -> Amount
pub fn outpoint(&self) -> OutPoint
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 moreAuto 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