Struct cryptoapis::models::decode_raw_transaction_hex_risb2_script_pub_key::DecodeRawTransactionHexRisb2ScriptPubKey
source · [−]pub struct DecodeRawTransactionHexRisb2ScriptPubKey {
pub address: String,
pub asm: Option<String>,
pub hex: Option<String>,
pub _type: Option<String>,
}
Expand description
DecodeRawTransactionHexRisb2ScriptPubKey : Represents the script public key.
Fields
address: String
Represents the address which send the amount.
asm: Option<String>
Represents the assembly of the script public key of the address.
hex: Option<String>
Represents the hex of the script public key of the address.
_type: Option<String>
Represents the script type.
Implementations
sourceimpl DecodeRawTransactionHexRisb2ScriptPubKey
impl DecodeRawTransactionHexRisb2ScriptPubKey
sourcepub fn new(address: String) -> DecodeRawTransactionHexRisb2ScriptPubKey
pub fn new(address: String) -> DecodeRawTransactionHexRisb2ScriptPubKey
Represents the script public key.
Trait Implementations
sourceimpl Clone for DecodeRawTransactionHexRisb2ScriptPubKey
impl Clone for DecodeRawTransactionHexRisb2ScriptPubKey
sourcefn clone(&self) -> DecodeRawTransactionHexRisb2ScriptPubKey
fn clone(&self) -> DecodeRawTransactionHexRisb2ScriptPubKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for DecodeRawTransactionHexRisb2ScriptPubKey
impl<'de> Deserialize<'de> for DecodeRawTransactionHexRisb2ScriptPubKey
sourcefn 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
sourceimpl PartialEq<DecodeRawTransactionHexRisb2ScriptPubKey> for DecodeRawTransactionHexRisb2ScriptPubKey
impl PartialEq<DecodeRawTransactionHexRisb2ScriptPubKey> for DecodeRawTransactionHexRisb2ScriptPubKey
sourcefn eq(&self, other: &DecodeRawTransactionHexRisb2ScriptPubKey) -> bool
fn eq(&self, other: &DecodeRawTransactionHexRisb2ScriptPubKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for DecodeRawTransactionHexRisb2ScriptPubKey
Auto Trait Implementations
impl RefUnwindSafe for DecodeRawTransactionHexRisb2ScriptPubKey
impl Send for DecodeRawTransactionHexRisb2ScriptPubKey
impl Sync for DecodeRawTransactionHexRisb2ScriptPubKey
impl Unpin for DecodeRawTransactionHexRisb2ScriptPubKey
impl UnwindSafe for DecodeRawTransactionHexRisb2ScriptPubKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more