Struct chain_impl_mockchain::testing::builders::tx_builder::TestTx
source · pub struct TestTx {
tx: Transaction<NoExtra>,
}
Fields§
§tx: Transaction<NoExtra>
Implementations§
source§impl TestTx
impl TestTx
pub fn new(tx: Transaction<NoExtra>) -> Self
pub fn get_fragment_id(&self) -> FragmentId
pub fn get_fragment(self) -> Fragment
pub fn hash(&self) -> TransactionSignDataHash
pub fn get_tx(self) -> Transaction<NoExtra>
pub fn witnesses(&self) -> WitnessesSlice<'_>
pub fn as_slice(&self) -> TransactionSlice<'_, NoExtra>
pub fn get_tx_outputs(&self) -> OutputsSlice<'_>
Trait Implementations§
source§impl PartialEq<TestTx> for TestTx
impl PartialEq<TestTx> for TestTx
impl Eq for TestTx
impl StructuralEq for TestTx
impl StructuralPartialEq for TestTx
Auto Trait Implementations§
impl RefUnwindSafe for TestTx
impl Send for TestTx
impl Sync for TestTx
impl Unpin for TestTx
impl UnwindSafe for TestTx
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