Struct cryptoapis::models::list_wallet_transactions_ri_recipients::ListWalletTransactionsRiRecipients
source · [−]pub struct ListWalletTransactionsRiRecipients {
pub address: String,
pub amount: String,
pub label: Option<String>,
}
Fields
address: String
The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient.
amount: String
Represents the amount received to this address.
label: Option<String>
Defines a plain text string as a label for the recipient.
Implementations
sourceimpl ListWalletTransactionsRiRecipients
impl ListWalletTransactionsRiRecipients
pub fn new(address: String, amount: String) -> ListWalletTransactionsRiRecipients
Trait Implementations
sourceimpl Clone for ListWalletTransactionsRiRecipients
impl Clone for ListWalletTransactionsRiRecipients
sourcefn clone(&self) -> ListWalletTransactionsRiRecipients
fn clone(&self) -> ListWalletTransactionsRiRecipients
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 ListWalletTransactionsRiRecipients
impl<'de> Deserialize<'de> for ListWalletTransactionsRiRecipients
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<ListWalletTransactionsRiRecipients> for ListWalletTransactionsRiRecipients
impl PartialEq<ListWalletTransactionsRiRecipients> for ListWalletTransactionsRiRecipients
sourcefn eq(&self, other: &ListWalletTransactionsRiRecipients) -> bool
fn eq(&self, other: &ListWalletTransactionsRiRecipients) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for ListWalletTransactionsRiRecipients
Auto Trait Implementations
impl RefUnwindSafe for ListWalletTransactionsRiRecipients
impl Send for ListWalletTransactionsRiRecipients
impl Sync for ListWalletTransactionsRiRecipients
impl Unpin for ListWalletTransactionsRiRecipients
impl UnwindSafe for ListWalletTransactionsRiRecipients
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