pub struct SendTransaction {
pub tx: Transaction,
}Expand description
Command to submit a new transaction to the mempool
Fields§
§tx: TransactionImplementations§
Source§impl SendTransaction
impl SendTransaction
Sourcepub fn new(tx: Transaction) -> Self
pub fn new(tx: Transaction) -> Self
Create a new command to submit a transaction.
Trait Implementations§
Source§impl Clone for SendTransaction
impl Clone for SendTransaction
Source§fn clone(&self) -> SendTransaction
fn clone(&self) -> SendTransaction
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 SendTransaction
impl RefUnwindSafe for SendTransaction
impl Send for SendTransaction
impl Sync for SendTransaction
impl Unpin for SendTransaction
impl UnsafeUnpin for SendTransaction
impl UnwindSafe for SendTransaction
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