pub struct CreateTransactionParams {
pub transaction_request: TransactionRequest,
pub x_end_user_wallet_id: Option<String>,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [create_transaction
]
Fields§
§transaction_request: TransactionRequest
§x_end_user_wallet_id: Option<String>
Unique ID of the End-User wallet to the API request. Required for end-user wallet operations.
idempotency_key: Option<String>
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Implementations§
Source§impl CreateTransactionParams
impl CreateTransactionParams
Sourcepub fn builder() -> CreateTransactionParamsBuilder
pub fn builder() -> CreateTransactionParamsBuilder
Create an instance of CreateTransactionParams
using the builder syntax
Trait Implementations§
Source§impl Clone for CreateTransactionParams
impl Clone for CreateTransactionParams
Source§fn clone(&self) -> CreateTransactionParams
fn clone(&self) -> CreateTransactionParams
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateTransactionParams
impl RefUnwindSafe for CreateTransactionParams
impl Send for CreateTransactionParams
impl Sync for CreateTransactionParams
impl Unpin for CreateTransactionParams
impl UnwindSafe for CreateTransactionParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more