pub struct CreateVaultAccountAssetParams {
pub vault_account_id: String,
pub asset_id: String,
pub idempotency_key: Option<String>,
pub create_assets_request: Option<CreateAssetsRequest>,
}
Expand description
struct for passing parameters to the method [create_vault_account_asset
]
Fields§
§vault_account_id: String
The ID of the vault account to return, or ‘default’ for the default vault account
asset_id: String
The ID of the asset
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.
create_assets_request: Option<CreateAssetsRequest>
Implementations§
Source§impl CreateVaultAccountAssetParams
impl CreateVaultAccountAssetParams
Sourcepub fn builder() -> CreateVaultAccountAssetParamsBuilder
pub fn builder() -> CreateVaultAccountAssetParamsBuilder
Create an instance of CreateVaultAccountAssetParams
using the builder syntax
Trait Implementations§
Source§impl Clone for CreateVaultAccountAssetParams
impl Clone for CreateVaultAccountAssetParams
Source§fn clone(&self) -> CreateVaultAccountAssetParams
fn clone(&self) -> CreateVaultAccountAssetParams
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 CreateVaultAccountAssetParams
impl RefUnwindSafe for CreateVaultAccountAssetParams
impl Send for CreateVaultAccountAssetParams
impl Sync for CreateVaultAccountAssetParams
impl Unpin for CreateVaultAccountAssetParams
impl UnwindSafe for CreateVaultAccountAssetParams
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