pub struct FreezeTransactionParams {
pub tx_id: String,
pub x_end_user_wallet_id: Option<String>,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [freeze_transaction
]
Fields§
§tx_id: String
The ID of the transaction to freeze
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 FreezeTransactionParams
impl FreezeTransactionParams
Sourcepub fn builder() -> FreezeTransactionParamsBuilder
pub fn builder() -> FreezeTransactionParamsBuilder
Create an instance of FreezeTransactionParams
using the builder syntax
Trait Implementations§
Source§impl Clone for FreezeTransactionParams
impl Clone for FreezeTransactionParams
Source§fn clone(&self) -> FreezeTransactionParams
fn clone(&self) -> FreezeTransactionParams
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 FreezeTransactionParams
impl RefUnwindSafe for FreezeTransactionParams
impl Send for FreezeTransactionParams
impl Sync for FreezeTransactionParams
impl Unpin for FreezeTransactionParams
impl UnwindSafe for FreezeTransactionParams
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