pub enum CreateRawTransactionOutput {
AddressAmount {
address: String,
amount: f64,
},
Data {
data: String,
},
}
Expand description
Models the output of JSON-RPC method createrawtransaction
.
The outputs specified as key-value pairs, where the keys is an address, and the values are the amounts to be sent to that address.
Variants§
Trait Implementations§
Source§impl Clone for CreateRawTransactionOutput
impl Clone for CreateRawTransactionOutput
Source§fn clone(&self) -> CreateRawTransactionOutput
fn clone(&self) -> CreateRawTransactionOutput
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 CreateRawTransactionOutput
impl Debug for CreateRawTransactionOutput
Source§impl<'de> Deserialize<'de> for CreateRawTransactionOutput
impl<'de> Deserialize<'de> for CreateRawTransactionOutput
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
impl StructuralPartialEq for CreateRawTransactionOutput
Auto Trait Implementations§
impl Freeze for CreateRawTransactionOutput
impl RefUnwindSafe for CreateRawTransactionOutput
impl Send for CreateRawTransactionOutput
impl Sync for CreateRawTransactionOutput
impl Unpin for CreateRawTransactionOutput
impl UnwindSafe for CreateRawTransactionOutput
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