Struct cryptoapis::models::create_tokens_transaction_request_from_address_rb_data_item::CreateTokensTransactionRequestFromAddressRbDataItem [−][src]
pub struct CreateTokensTransactionRequestFromAddressRbDataItem {
pub amount: String,
pub callback_secret_key: Option<String>,
pub callback_url: Option<String>,
pub fee_priority: FeePriority,
pub note: Option<String>,
pub recipient_address: String,
pub token_identifier: String,
}
Fields
amount: String
Represents the specific amount of the transaction.
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.
recipient_address: String
Defines the specific recipient address for the transaction.
token_identifier: String
Defines the specific token identifier. For Bitcoin-based transactions it should be the propertyId
and for Ethereum-based transactions - the contract
.
Implementations
pub fn new(
amount: String,
fee_priority: FeePriority,
recipient_address: String,
token_identifier: String
) -> CreateTokensTransactionRequestFromAddressRbDataItem
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