pub struct WalletBatchCreateResponse {
pub results: Vec<WalletBatchCreateResult>,
}Expand description
Response for a batch wallet creation request.
JSON schema
{
"title": "WalletBatchCreateResponse",
"description": "Response for a batch wallet creation request.",
"examples": [
{
"results": [
{
"index": 0,
"success": true,
"wallet": {
"additional_signers": [],
"address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496",
"chain_type": "ethereum",
"created_at": 1741834854578,
"display_name": "Treasury",
"exported_at": null,
"external_id": "my-order-123",
"id": "id2tptkqrxd39qo9j423etij",
"imported_at": null,
"owner_id": "rkiz0ivz254drv1xw982v3jq",
"policy_ids": []
}
},
{
"code": "not_found",
"error": "Policy not found",
"index": 1,
"success": false
}
]
}
],
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"description": "Array of results for each wallet creation request,
in the same order as input.",
"type": "array",
"items": {
"$ref": "#/components/schemas/WalletBatchCreateResult"
}
}
},
"x-stainless-model": "wallets.wallet_batch_create_response"
}Fields§
§results: Vec<WalletBatchCreateResult>Array of results for each wallet creation request, in the same order as input.
Trait Implementations§
Source§impl Clone for WalletBatchCreateResponse
impl Clone for WalletBatchCreateResponse
Source§fn clone(&self) -> WalletBatchCreateResponse
fn clone(&self) -> WalletBatchCreateResponse
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 WalletBatchCreateResponse
impl Debug for WalletBatchCreateResponse
Source§impl<'de> Deserialize<'de> for WalletBatchCreateResponse
impl<'de> Deserialize<'de> for WalletBatchCreateResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WalletBatchCreateResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WalletBatchCreateResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&WalletBatchCreateResponse> for WalletBatchCreateResponse
impl From<&WalletBatchCreateResponse> for WalletBatchCreateResponse
Source§fn from(value: &WalletBatchCreateResponse) -> WalletBatchCreateResponse
fn from(value: &WalletBatchCreateResponse) -> WalletBatchCreateResponse
Converts to this type from the input type.
Source§impl Serialize for WalletBatchCreateResponse
impl Serialize for WalletBatchCreateResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for WalletBatchCreateResponse
impl RefUnwindSafe for WalletBatchCreateResponse
impl Send for WalletBatchCreateResponse
impl Sync for WalletBatchCreateResponse
impl Unpin for WalletBatchCreateResponse
impl UnsafeUnpin for WalletBatchCreateResponse
impl UnwindSafe for WalletBatchCreateResponse
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