Struct cryptoapis::models::coins_forwarding_success_data_item::CoinsForwardingSuccessDataItem
source · [−]pub struct CoinsForwardingSuccessDataItem {
pub blockchain: String,
pub network: String,
pub from_address: String,
pub to_address: String,
pub forwarded_amount: String,
pub forwarded_unit: String,
pub spent_fees_amount: String,
pub spent_fees_unit: String,
pub trigger_transaction_id: String,
pub forwarding_transaction_id: String,
}
Expand description
CoinsForwardingSuccessDataItem : Defines an item
as one result.
Fields
blockchain: String
Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
network: String
Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "ropsten", "rinkeby" are test networks.
from_address: String
Represents the hash of the address that provides the coins.
to_address: String
Represents the hash of the address to forward the coins to.
forwarded_amount: String
Represents the amount of coins that have been forwarded.
forwarded_unit: String
Represents the unit of coins that have been forwarded, e.g. BTC.
spent_fees_amount: String
Represents the amount of the fee spent for the coins to be forwarded.
spent_fees_unit: String
Represents the unit of the fee spent for the coins to be forwarded, e.g. BTC.
trigger_transaction_id: String
Defines the unique Transaction ID that triggered the coin forwarding.
forwarding_transaction_id: String
Defines the unique Transaction ID that forwarded the coins.
Implementations
sourceimpl CoinsForwardingSuccessDataItem
impl CoinsForwardingSuccessDataItem
sourcepub fn new(
blockchain: String,
network: String,
from_address: String,
to_address: String,
forwarded_amount: String,
forwarded_unit: String,
spent_fees_amount: String,
spent_fees_unit: String,
trigger_transaction_id: String,
forwarding_transaction_id: String
) -> CoinsForwardingSuccessDataItem
pub fn new(
blockchain: String,
network: String,
from_address: String,
to_address: String,
forwarded_amount: String,
forwarded_unit: String,
spent_fees_amount: String,
spent_fees_unit: String,
trigger_transaction_id: String,
forwarding_transaction_id: String
) -> CoinsForwardingSuccessDataItem
Defines an item
as one result.
Trait Implementations
sourceimpl Clone for CoinsForwardingSuccessDataItem
impl Clone for CoinsForwardingSuccessDataItem
sourcefn clone(&self) -> CoinsForwardingSuccessDataItem
fn clone(&self) -> CoinsForwardingSuccessDataItem
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 CoinsForwardingSuccessDataItem
impl<'de> Deserialize<'de> for CoinsForwardingSuccessDataItem
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<CoinsForwardingSuccessDataItem> for CoinsForwardingSuccessDataItem
impl PartialEq<CoinsForwardingSuccessDataItem> for CoinsForwardingSuccessDataItem
sourcefn eq(&self, other: &CoinsForwardingSuccessDataItem) -> bool
fn eq(&self, other: &CoinsForwardingSuccessDataItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for CoinsForwardingSuccessDataItem
Auto Trait Implementations
impl RefUnwindSafe for CoinsForwardingSuccessDataItem
impl Send for CoinsForwardingSuccessDataItem
impl Sync for CoinsForwardingSuccessDataItem
impl Unpin for CoinsForwardingSuccessDataItem
impl UnwindSafe for CoinsForwardingSuccessDataItem
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