Struct cryptoapis::models::tokens_forwarding_success_data_item::TokensForwardingSuccessDataItem
source · [−]pub struct TokensForwardingSuccessDataItem {
pub blockchain: String,
pub network: String,
pub from_address: String,
pub to_address: String,
pub spent_fees_amount: String,
pub spent_fees_unit: String,
pub trigger_transaction_id: String,
pub forwarding_transaction_id: String,
pub token_type: TokenType,
pub token: Box<TokensForwardingSuccessToken>,
}
Expand description
TokensForwardingSuccessDataItem : 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" are test networks.
from_address: String
Represents the hash of the address that provides the tokens.
to_address: String
Represents the hash of the address to forward the tokens to.
spent_fees_amount: String
Represents the amount of the fee spent for the tokens to be forwarded.
spent_fees_unit: String
Represents the unit of the fee spent for the tokens to be forwarded, e.g. BTC.
trigger_transaction_id: String
Defines the unique Transaction ID that triggered the token forwarding.
forwarding_transaction_id: String
Defines the unique Transaction ID that forwarded the tokens.
token_type: TokenType
Defines the type of token sent with the transaction, e.g. ERC 20.
token: Box<TokensForwardingSuccessToken>
Implementations
sourceimpl TokensForwardingSuccessDataItem
impl TokensForwardingSuccessDataItem
sourcepub fn new(
blockchain: String,
network: String,
from_address: String,
to_address: String,
spent_fees_amount: String,
spent_fees_unit: String,
trigger_transaction_id: String,
forwarding_transaction_id: String,
token_type: TokenType,
token: TokensForwardingSuccessToken
) -> TokensForwardingSuccessDataItem
pub fn new(
blockchain: String,
network: String,
from_address: String,
to_address: String,
spent_fees_amount: String,
spent_fees_unit: String,
trigger_transaction_id: String,
forwarding_transaction_id: String,
token_type: TokenType,
token: TokensForwardingSuccessToken
) -> TokensForwardingSuccessDataItem
Defines an item
as one result.
Trait Implementations
sourceimpl Clone for TokensForwardingSuccessDataItem
impl Clone for TokensForwardingSuccessDataItem
sourcefn clone(&self) -> TokensForwardingSuccessDataItem
fn clone(&self) -> TokensForwardingSuccessDataItem
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 TokensForwardingSuccessDataItem
impl<'de> Deserialize<'de> for TokensForwardingSuccessDataItem
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<TokensForwardingSuccessDataItem> for TokensForwardingSuccessDataItem
impl PartialEq<TokensForwardingSuccessDataItem> for TokensForwardingSuccessDataItem
sourcefn eq(&self, other: &TokensForwardingSuccessDataItem) -> bool
fn eq(&self, other: &TokensForwardingSuccessDataItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for TokensForwardingSuccessDataItem
Auto Trait Implementations
impl RefUnwindSafe for TokensForwardingSuccessDataItem
impl Send for TokensForwardingSuccessDataItem
impl Sync for TokensForwardingSuccessDataItem
impl Unpin for TokensForwardingSuccessDataItem
impl UnwindSafe for TokensForwardingSuccessDataItem
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