pub struct CreateUserWalletBody {
pub wallets: Vec<CreateUserWalletBodyWalletsItem>,
}Expand description
CreateUserWalletBody
JSON schema
{
"type": "object",
"required": [
"wallets"
],
"properties": {
"wallets": {
"type": "array",
"items": {
"type": "object",
"required": [
"chain_type"
],
"properties": {
"additional_signers": {
"type": "array",
"items": {
"type": "object",
"required": [
"signer_id"
],
"properties": {
"override_policy_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 1
},
"signer_id": {
"type": "string"
}
}
}
},
"chain_type": {
"oneOf": [
{
"type": "string",
"enum": [
"cosmos"
]
},
{
"type": "string",
"enum": [
"stellar"
]
},
{
"type": "string",
"enum": [
"sui"
]
},
{
"type": "string",
"enum": [
"aptos"
]
},
{
"type": "string",
"enum": [
"movement"
]
},
{
"type": "string",
"enum": [
"tron"
]
},
{
"type": "string",
"enum": [
"bitcoin-segwit"
]
},
{
"type": "string",
"enum": [
"near"
]
},
{
"type": "string",
"enum": [
"ton"
]
},
{
"type": "string",
"enum": [
"starknet"
]
},
{
"type": "string",
"enum": [
"spark"
]
},
{
"type": "string",
"enum": [
"solana"
]
},
{
"type": "string",
"enum": [
"ethereum"
]
}
]
},
"create_smart_wallet": {
"type": "boolean"
},
"policy_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 1
}
}
}
}
}
}Fields§
§wallets: Vec<CreateUserWalletBodyWalletsItem>Trait Implementations§
Source§impl Clone for CreateUserWalletBody
impl Clone for CreateUserWalletBody
Source§fn clone(&self) -> CreateUserWalletBody
fn clone(&self) -> CreateUserWalletBody
Returns a duplicate 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 moreSource§impl Debug for CreateUserWalletBody
impl Debug for CreateUserWalletBody
Source§impl<'de> Deserialize<'de> for CreateUserWalletBody
impl<'de> Deserialize<'de> for CreateUserWalletBody
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<&CreateUserWalletBody> for CreateUserWalletBody
impl From<&CreateUserWalletBody> for CreateUserWalletBody
Source§fn from(value: &CreateUserWalletBody) -> Self
fn from(value: &CreateUserWalletBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateUserWalletBody
impl RefUnwindSafe for CreateUserWalletBody
impl Send for CreateUserWalletBody
impl Sync for CreateUserWalletBody
impl Unpin for CreateUserWalletBody
impl UnwindSafe for CreateUserWalletBody
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