Struct cryptoapis::models::create_coins_transaction_request_from_wallet_ri::CreateCoinsTransactionRequestFromWalletRi [−][src]
pub struct CreateCoinsTransactionRequestFromWalletRi { pub callback_secret_key: Option<String>, pub callback_url: Option<String>, pub fee_priority: FeePriority, pub recipients: Vec<CreateCoinsTransactionRequestFromWalletRiRecipients>, pub total_transaction_amount: String, pub transaction_request_status: TransactionRequestStatus, }
Fields
callback_secret_key: Option<String>
Represents the Secret Key value provided by the customer. This field is used for security purposes during the callback notification, in order to prove the sender of the callback as Crypto APIs.
callback_url: Option<String>
Verified URL for sending callbacks
fee_priority: FeePriority
Represents the fee priority of the automation, whether it is "slow", "standard" or "fast".
recipients: Vec<CreateCoinsTransactionRequestFromWalletRiRecipients>
Defines the destination of the transaction, whether it is incoming or outgoing.
total_transaction_amount: String
Represents the specific amount of the transaction.
transaction_request_status: TransactionRequestStatus
Defines the status of the transaction, e.g. "created, "await_approval", "pending", "prepared", "signed", "broadcasted", "success", "failed", "rejected", mined".
Implementations
pub fn new(
fee_priority: FeePriority,
recipients: Vec<CreateCoinsTransactionRequestFromWalletRiRecipients>,
total_transaction_amount: String,
transaction_request_status: TransactionRequestStatus
) -> CreateCoinsTransactionRequestFromWalletRi
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
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more