pub struct UnsignedTx {
pub tx: Transaction,
pub input_info: Vec<InputInfo>,
pub fee: u64,
}Expand description
An unsigned transaction ready for signing.
Fields§
§tx: TransactionThe transaction
input_info: Vec<InputInfo>Input information for signing
fee: u64Calculated fee
Implementations§
Source§impl UnsignedTx
impl UnsignedTx
Sourcepub fn transaction(&self) -> &Transaction
pub fn transaction(&self) -> &Transaction
Get the transaction.
Trait Implementations§
Source§impl Clone for UnsignedTx
impl Clone for UnsignedTx
Source§fn clone(&self) -> UnsignedTx
fn clone(&self) -> UnsignedTx
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 UnsignedTx
impl RefUnwindSafe for UnsignedTx
impl Send for UnsignedTx
impl Sync for UnsignedTx
impl Unpin for UnsignedTx
impl UnwindSafe for UnsignedTx
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