Struct cryptoapis::models::create_coins_transaction_request_from_address_ri::CreateCoinsTransactionRequestFromAddressRi [−][src]
pub struct CreateCoinsTransactionRequestFromAddressRi {
pub callback_secret_key: Option<String>,
pub callback_url: Option<String>,
pub fee_priority: FeePriority,
pub note: Option<String>,
pub recipients: Vec<CreateCoinsTransactionRequestFromAddressRiRecipients>,
pub senders: Box<CreateCoinsTransactionRequestFromAddressRiSenders>,
pub transaction_request_id: 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. For more information please see our Documentation.
callback_url: Option<String>
Represents the URL that is set by the customer where the callback will be received at. The callback notification will be received only if and when the event occurs.
fee_priority: FeePriority
Represents the fee priority of the automation, whether it is "slow", "standard" or "fast".
note: Option<String>
Represents an optional note to add a free text in, explaining or providing additional detail on the transaction request.
recipients: Vec<CreateCoinsTransactionRequestFromAddressRiRecipients>
Defines the destination for the transaction, i.e. the recipient(s).
senders: Box<CreateCoinsTransactionRequestFromAddressRiSenders>
transaction_request_id: String
Represents a unique identifier of the transaction request (the request sent to make a transaction), which helps in identifying which callback and which referenceId
concern that specific transaction request.
transaction_request_status: TransactionRequestStatus
Defines the status of the transaction request, e.g. "created, "await_approval", "pending", "prepared", "signed", "broadcasted", "success", "failed", "rejected", mined".
Implementations
pub fn new(
fee_priority: FeePriority,
recipients: Vec<CreateCoinsTransactionRequestFromAddressRiRecipients>,
senders: CreateCoinsTransactionRequestFromAddressRiSenders,
transaction_request_id: String,
transaction_request_status: TransactionRequestStatus
) -> CreateCoinsTransactionRequestFromAddressRi
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
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