pub struct CreateRawTransaction {
pub inputs: Vec<CreateRawTransactionInput>,
pub outputs: Vec<CreateRawTransactionOutput>,
}
Expand description
Models the arguments of JSON-RPC method createrawtransaction
.
§Note
Assumes that the transaction is always “replaceable” by default and has a locktime of 0.
Fields§
§inputs: Vec<CreateRawTransactionInput>
§outputs: Vec<CreateRawTransactionOutput>
Trait Implementations§
Source§impl Clone for CreateRawTransaction
impl Clone for CreateRawTransaction
Source§fn clone(&self) -> CreateRawTransaction
fn clone(&self) -> CreateRawTransaction
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 moreSource§impl Debug for CreateRawTransaction
impl Debug for CreateRawTransaction
Source§impl<'de> Deserialize<'de> for CreateRawTransaction
impl<'de> Deserialize<'de> for CreateRawTransaction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateRawTransaction
impl PartialEq for CreateRawTransaction
Source§impl Serialize for CreateRawTransaction
impl Serialize for CreateRawTransaction
impl StructuralPartialEq for CreateRawTransaction
Auto Trait Implementations§
impl Freeze for CreateRawTransaction
impl RefUnwindSafe for CreateRawTransaction
impl Send for CreateRawTransaction
impl Sync for CreateRawTransaction
impl Unpin for CreateRawTransaction
impl UnwindSafe for CreateRawTransaction
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