pub enum OutgoingTransaction {
Complete(Transaction),
Incomplete(IncompleteOutgoingTransaction),
IncompleteOffboard(IncompleteOffboardTransaction),
}Expand description
An outgoing transaction.
If the transaction is OutgoingTransaction::Complete, it can be used as is. If the
transaction is OutgoingTransaction::Incomplete, you will need to complete it with a
VirtualTxOutPoint. If the transaction is OutgoingTransaction::IncompleteOffboard, you
will need to complete it with confirmation data.
Refer to generate_outgoing_vtxo_transaction_history for more info on how to use this type.
Variants§
Complete(Transaction)
Incomplete(IncompleteOutgoingTransaction)
IncompleteOffboard(IncompleteOffboardTransaction)
Trait Implementations§
Source§impl Clone for OutgoingTransaction
impl Clone for OutgoingTransaction
Source§fn clone(&self) -> OutgoingTransaction
fn clone(&self) -> OutgoingTransaction
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 moreimpl Copy for OutgoingTransaction
Source§impl Debug for OutgoingTransaction
impl Debug for OutgoingTransaction
Source§impl PartialEq for OutgoingTransaction
impl PartialEq for OutgoingTransaction
Source§fn eq(&self, other: &OutgoingTransaction) -> bool
fn eq(&self, other: &OutgoingTransaction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OutgoingTransaction
Auto Trait Implementations§
impl Freeze for OutgoingTransaction
impl RefUnwindSafe for OutgoingTransaction
impl Send for OutgoingTransaction
impl Sync for OutgoingTransaction
impl Unpin for OutgoingTransaction
impl UnsafeUnpin for OutgoingTransaction
impl UnwindSafe for OutgoingTransaction
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