pub struct CreateRawTransactionArguments {
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 CreateRawTransactionArguments
impl Clone for CreateRawTransactionArguments
Source§fn clone(&self) -> CreateRawTransactionArguments
fn clone(&self) -> CreateRawTransactionArguments
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<'de> Deserialize<'de> for CreateRawTransactionArguments
impl<'de> Deserialize<'de> for CreateRawTransactionArguments
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 CreateRawTransactionArguments
impl PartialEq for CreateRawTransactionArguments
Source§fn eq(&self, other: &CreateRawTransactionArguments) -> bool
fn eq(&self, other: &CreateRawTransactionArguments) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateRawTransactionArguments
Auto Trait Implementations§
impl Freeze for CreateRawTransactionArguments
impl RefUnwindSafe for CreateRawTransactionArguments
impl Send for CreateRawTransactionArguments
impl Sync for CreateRawTransactionArguments
impl Unpin for CreateRawTransactionArguments
impl UnwindSafe for CreateRawTransactionArguments
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