Struct cryptoapis::models::get_transaction_request_details_ri::GetTransactionRequestDetailsRi [−][src]
pub struct GetTransactionRequestDetailsRi {
pub additional_details: String,
pub blockchain: Blockchain,
pub fee_priority: FeePriority,
pub network: Network,
pub recipients: Vec<GetTransactionRequestDetailsRiRecipients>,
pub total_transaction_amount: String,
pub transaction_request_status: TransactionRequestStatus,
pub transaction_type: TransactionType,
pub unit: String,
pub wallet_id: String,
}
Fields
additional_details: String
Defines an optional note for additional details.
blockchain: Blockchain
Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
fee_priority: FeePriority
Defines the priority for the fee, if it is "slow", "standard" or "fast".
network: Network
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.
recipients: Vec<GetTransactionRequestDetailsRiRecipients>
Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list.
total_transaction_amount: String
Defines the total transaction amount.
transaction_request_status: TransactionRequestStatus
Defines the status of the transaction request, e.g. pending.
transaction_type: TransactionType
Defines the transaction type, if it is for coins or tokens.
unit: String
Defines the unit of the amount.
wallet_id: String
Defines the unique ID of the Wallet.
Implementations
pub fn new(
additional_details: String,
blockchain: Blockchain,
fee_priority: FeePriority,
network: Network,
recipients: Vec<GetTransactionRequestDetailsRiRecipients>,
total_transaction_amount: String,
transaction_request_status: TransactionRequestStatus,
transaction_type: TransactionType,
unit: String,
wallet_id: String
) -> GetTransactionRequestDetailsRi
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 GetTransactionRequestDetailsRi
impl Sync for GetTransactionRequestDetailsRi
impl Unpin for GetTransactionRequestDetailsRi
impl UnwindSafe for GetTransactionRequestDetailsRi
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