pub struct WalletBatchItemInput {
pub additional_signers: Option<AdditionalSignerInput>,
pub chain_type: WalletChainType,
pub display_name: Option<WalletBatchItemInputDisplayName>,
pub external_id: Option<WalletBatchItemInputExternalId>,
pub owner: Option<OwnerInput>,
pub owner_id: Option<OwnerIdInput>,
pub policy_ids: Vec<WalletBatchItemInputPolicyIdsItem>,
}Expand description
Input for a single wallet in a batch creation request.
JSON schema
{
"title": "WalletBatchItemInput",
"description": "Input for a single wallet in a batch creation
request.",
"examples": [
{
"chain_type": "ethereum"
}
],
"type": "object",
"required": [
"chain_type"
],
"properties": {
"additional_signers": {
"$ref": "#/components/schemas/AdditionalSignerInput"
},
"chain_type": {
"$ref": "#/components/schemas/WalletChainType"
},
"display_name": {
"description": "A human-readable label for the wallet.",
"type": "string",
"maxLength": 100
},
"external_id": {
"description": "A customer-provided identifier for mapping to
external systems. URL-safe characters only ([a-zA-Z0-9_-]), max 64
chars. Write-once: cannot be changed after creation.",
"type": "string",
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"owner": {
"$ref": "#/components/schemas/OwnerInput"
},
"owner_id": {
"$ref": "#/components/schemas/OwnerIdInput"
},
"policy_ids": {
"description": "List of policy IDs for policies that should be
enforced on the wallet. Currently, only one policy is supported per
wallet.",
"type": "array",
"items": {
"type": "string",
"maxLength": 24,
"minLength": 24
},
"maxItems": 1
}
},
"x-stainless-model": "wallets.wallet_batch_item_input"
}Fields§
§additional_signers: Option<AdditionalSignerInput>§chain_type: WalletChainType§display_name: Option<WalletBatchItemInputDisplayName>A human-readable label for the wallet.
external_id: Option<WalletBatchItemInputExternalId>A customer-provided identifier for mapping to external systems. URL-safe characters only ([a-zA-Z0-9_-]), max 64 chars. Write-once: cannot be changed after creation.
owner: Option<OwnerInput>§owner_id: Option<OwnerIdInput>§policy_ids: Vec<WalletBatchItemInputPolicyIdsItem>List of policy IDs for policies that should be enforced on the wallet. Currently, only one policy is supported per wallet.
Trait Implementations§
Source§impl Clone for WalletBatchItemInput
impl Clone for WalletBatchItemInput
Source§fn clone(&self) -> WalletBatchItemInput
fn clone(&self) -> WalletBatchItemInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WalletBatchItemInput
impl Debug for WalletBatchItemInput
Source§impl<'de> Deserialize<'de> for WalletBatchItemInput
impl<'de> Deserialize<'de> for WalletBatchItemInput
Source§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
Source§impl From<&WalletBatchItemInput> for WalletBatchItemInput
impl From<&WalletBatchItemInput> for WalletBatchItemInput
Source§fn from(value: &WalletBatchItemInput) -> Self
fn from(value: &WalletBatchItemInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletBatchItemInput
impl RefUnwindSafe for WalletBatchItemInput
impl Send for WalletBatchItemInput
impl Sync for WalletBatchItemInput
impl Unpin for WalletBatchItemInput
impl UnsafeUnpin for WalletBatchItemInput
impl UnwindSafe for WalletBatchItemInput
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