Struct cryptoapis::models::create_coins_transaction_request_from_wallet_ri::CreateCoinsTransactionRequestFromWalletRi
source · [−]pub struct CreateCoinsTransactionRequestFromWalletRi {
pub callback_secret_key: Option<String>,
pub callback_url: Option<String>,
pub fee_priority: FeePriority,
pub note: Option<String>,
pub recipients: Vec<CreateCoinsTransactionRequestFromWalletRiRecipients>,
pub total_transaction_amount: String,
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. We support ONLY httpS type of protocol
.
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<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_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, e.g. "created, "await_approval", "pending", "prepared", "signed", "broadcasted", "success", "failed", "rejected", mined".
Implementations
sourceimpl CreateCoinsTransactionRequestFromWalletRi
impl CreateCoinsTransactionRequestFromWalletRi
pub fn new(
fee_priority: FeePriority,
recipients: Vec<CreateCoinsTransactionRequestFromWalletRiRecipients>,
total_transaction_amount: String,
transaction_request_id: String,
transaction_request_status: TransactionRequestStatus
) -> CreateCoinsTransactionRequestFromWalletRi
Trait Implementations
sourceimpl Clone for CreateCoinsTransactionRequestFromWalletRi
impl Clone for CreateCoinsTransactionRequestFromWalletRi
sourcefn clone(&self) -> CreateCoinsTransactionRequestFromWalletRi
fn clone(&self) -> CreateCoinsTransactionRequestFromWalletRi
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'de> Deserialize<'de> for CreateCoinsTransactionRequestFromWalletRi
impl<'de> Deserialize<'de> for CreateCoinsTransactionRequestFromWalletRi
sourcefn 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
sourceimpl PartialEq<CreateCoinsTransactionRequestFromWalletRi> for CreateCoinsTransactionRequestFromWalletRi
impl PartialEq<CreateCoinsTransactionRequestFromWalletRi> for CreateCoinsTransactionRequestFromWalletRi
sourcefn eq(&self, other: &CreateCoinsTransactionRequestFromWalletRi) -> bool
fn eq(&self, other: &CreateCoinsTransactionRequestFromWalletRi) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for CreateCoinsTransactionRequestFromWalletRi
Auto Trait Implementations
impl RefUnwindSafe for CreateCoinsTransactionRequestFromWalletRi
impl Send for CreateCoinsTransactionRequestFromWalletRi
impl Sync for CreateCoinsTransactionRequestFromWalletRi
impl Unpin for CreateCoinsTransactionRequestFromWalletRi
impl UnwindSafe for CreateCoinsTransactionRequestFromWalletRi
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more