Struct cryptoapis::models::tokens_forwarding_success_data_item::TokensForwardingSuccessDataItem [−][src]
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
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
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
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for TokensForwardingSuccessDataItem
impl Sync for TokensForwardingSuccessDataItem
impl Unpin for TokensForwardingSuccessDataItem
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more