pub struct CreateUserWalletBodyWalletsItem {
pub additional_signers: Vec<CreateUserWalletBodyWalletsItemAdditionalSignersItem>,
pub chain_type: CreateUserWalletBodyWalletsItemChainType,
pub create_smart_wallet: Option<bool>,
pub policy_ids: Vec<String>,
}Expand description
CreateUserWalletBodyWalletsItem
JSON schema
{
"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§
§additional_signers: Vec<CreateUserWalletBodyWalletsItemAdditionalSignersItem>§chain_type: CreateUserWalletBodyWalletsItemChainType§create_smart_wallet: Option<bool>§policy_ids: Vec<String>Trait Implementations§
Source§impl Clone for CreateUserWalletBodyWalletsItem
impl Clone for CreateUserWalletBodyWalletsItem
Source§fn clone(&self) -> CreateUserWalletBodyWalletsItem
fn clone(&self) -> CreateUserWalletBodyWalletsItem
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<'de> Deserialize<'de> for CreateUserWalletBodyWalletsItem
impl<'de> Deserialize<'de> for CreateUserWalletBodyWalletsItem
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<&CreateUserWalletBodyWalletsItem> for CreateUserWalletBodyWalletsItem
impl From<&CreateUserWalletBodyWalletsItem> for CreateUserWalletBodyWalletsItem
Source§fn from(value: &CreateUserWalletBodyWalletsItem) -> Self
fn from(value: &CreateUserWalletBodyWalletsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateUserWalletBodyWalletsItem
impl RefUnwindSafe for CreateUserWalletBodyWalletsItem
impl Send for CreateUserWalletBodyWalletsItem
impl Sync for CreateUserWalletBodyWalletsItem
impl Unpin for CreateUserWalletBodyWalletsItem
impl UnwindSafe for CreateUserWalletBodyWalletsItem
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