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<CreateUserWalletBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateUserWalletBody, <__D as Deserializer<'de>>::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) -> CreateUserWalletBody
fn from(value: &CreateUserWalletBody) -> CreateUserWalletBody
Converts to this type from the input type.
Source§impl Serialize for CreateUserWalletBody
impl Serialize for CreateUserWalletBody
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 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