Struct revault_tx::transactions::DepositTransaction
source · [−]pub struct DepositTransaction(pub Transaction);
Expand description
The funding transaction, we don’t create nor sign it.
Tuple Fields
0: Transaction
Implementations
sourceimpl DepositTransaction
impl DepositTransaction
sourcepub fn deposit_txin(
&self,
outpoint: OutPoint,
deposit_descriptor: &DerivedDepositDescriptor
) -> DepositTxIn
pub fn deposit_txin(
&self,
outpoint: OutPoint,
deposit_descriptor: &DerivedDepositDescriptor
) -> DepositTxIn
Assumes that the outpoint actually refers to this transaction. Will panic otherwise.
Trait Implementations
sourceimpl Clone for DepositTransaction
impl Clone for DepositTransaction
sourcefn clone(&self) -> DepositTransaction
fn clone(&self) -> DepositTransaction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DepositTransaction
impl Debug for DepositTransaction
sourceimpl PartialEq<DepositTransaction> for DepositTransaction
impl PartialEq<DepositTransaction> for DepositTransaction
sourcefn eq(&self, other: &DepositTransaction) -> bool
fn eq(&self, other: &DepositTransaction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DepositTransaction) -> bool
fn ne(&self, other: &DepositTransaction) -> bool
This method tests for !=
.
impl StructuralPartialEq for DepositTransaction
Auto Trait Implementations
impl RefUnwindSafe for DepositTransaction
impl Send for DepositTransaction
impl Sync for DepositTransaction
impl Unpin for DepositTransaction
impl UnwindSafe for DepositTransaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more