pub struct TestIncomingTx {
pub output: Vec<TestIncomingOutput>,
pub min_confirmations: Option<u64>,
pub locktime: Option<i64>,
pub replaceable: Option<bool>,
}
Fields§
§output: Vec<TestIncomingOutput>
§min_confirmations: Option<u64>
§locktime: Option<i64>
§replaceable: Option<bool>
Implementations§
Source§impl TestIncomingTx
impl TestIncomingTx
pub fn new( output: Vec<TestIncomingOutput>, min_confirmations: Option<u64>, locktime: Option<i64>, replaceable: Option<bool>, ) -> Self
pub fn add_output(&mut self, output: TestIncomingOutput)
Trait Implementations§
Source§impl Clone for TestIncomingTx
impl Clone for TestIncomingTx
Source§fn clone(&self) -> TestIncomingTx
fn clone(&self) -> TestIncomingTx
Returns a duplicate of the value. Read more
1.0.0 · 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 TestIncomingTx
impl RefUnwindSafe for TestIncomingTx
impl Send for TestIncomingTx
impl Sync for TestIncomingTx
impl Unpin for TestIncomingTx
impl UnwindSafe for TestIncomingTx
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