pub struct GetRawTransactionVerbosityZero(pub String);
Expand description
Result of JSON-RPC method getrawtransaction
with verbosity set to 0.
A string that is serialized, hex-encoded data for transaction.
Method call: getrawtransaction "txid" ( verbosity )
Tuple Fields§
§0: String
Implementations§
Source§impl GetRawTransactionVerbosityZero
impl GetRawTransactionVerbosityZero
Sourcepub fn transaction(self) -> Result<Transaction, FromHexError>
pub fn transaction(self) -> Result<Transaction, FromHexError>
Converts json straight to a Transaction
.
Trait Implementations§
Source§impl Clone for GetRawTransactionVerbosityZero
impl Clone for GetRawTransactionVerbosityZero
Source§fn clone(&self) -> GetRawTransactionVerbosityZero
fn clone(&self) -> GetRawTransactionVerbosityZero
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 GetRawTransactionVerbosityZero
impl<'de> Deserialize<'de> for GetRawTransactionVerbosityZero
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 GetRawTransactionVerbosityZero
impl PartialEq for GetRawTransactionVerbosityZero
Source§fn eq(&self, other: &GetRawTransactionVerbosityZero) -> bool
fn eq(&self, other: &GetRawTransactionVerbosityZero) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetRawTransactionVerbosityZero
Auto Trait Implementations§
impl Freeze for GetRawTransactionVerbosityZero
impl RefUnwindSafe for GetRawTransactionVerbosityZero
impl Send for GetRawTransactionVerbosityZero
impl Sync for GetRawTransactionVerbosityZero
impl Unpin for GetRawTransactionVerbosityZero
impl UnwindSafe for GetRawTransactionVerbosityZero
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