pub struct CreateUserBodyWalletsItem {
pub additional_signers: Vec<CreateUserBodyWalletsItemAdditionalSignersItem>,
pub chain_type: WalletChainType,
pub create_smart_wallet: Option<bool>,
pub policy_ids: Vec<CreateUserBodyWalletsItemPolicyIdsItem>,
}Expand description
CreateUserBodyWalletsItem
JSON schema
{
"type": "object",
"required": [
"chain_type"
],
"properties": {
"additional_signers": {
"description": "Additional signers for the wallet.",
"type": "array",
"items": {
"type": "object",
"required": [
"signer_id"
],
"properties": {
"override_policy_ids": {
"description": "The array of policy IDs that will be applied to wallet requests. If specified, this will override the base policy IDs set on the wallet. Currently, only one policy is supported per signer.",
"type": "array",
"items": {
"type": "string",
"maxLength": 24,
"minLength": 24
}
},
"signer_id": {
"description": "The key quorum ID for the signer.",
"type": "string"
}
}
}
},
"chain_type": {
"$ref": "#/components/schemas/WalletChainType"
},
"create_smart_wallet": {
"description": "Create a smart wallet with this wallet as the signer. Only supported for wallets with `chain_type: \"ethereum\"`.",
"type": "boolean"
},
"policy_ids": {
"description": "Policy IDs to enforce on the wallet. Currently,
only one policy is supported per wallet.",
"type": "array",
"items": {
"type": "string",
"maxLength": 24,
"minLength": 24
},
"maxItems": 1
}
}
}Fields§
§additional_signers: Vec<CreateUserBodyWalletsItemAdditionalSignersItem>Additional signers for the wallet.
chain_type: WalletChainType§create_smart_wallet: Option<bool>Create a smart wallet with this wallet as the signer. Only supported
for wallets with chain_type: "ethereum".
policy_ids: Vec<CreateUserBodyWalletsItemPolicyIdsItem>Policy IDs to enforce on the wallet. Currently, only one policy is supported per wallet.
Trait Implementations§
Source§impl Clone for CreateUserBodyWalletsItem
impl Clone for CreateUserBodyWalletsItem
Source§fn clone(&self) -> CreateUserBodyWalletsItem
fn clone(&self) -> CreateUserBodyWalletsItem
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 CreateUserBodyWalletsItem
impl Debug for CreateUserBodyWalletsItem
Source§impl<'de> Deserialize<'de> for CreateUserBodyWalletsItem
impl<'de> Deserialize<'de> for CreateUserBodyWalletsItem
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<&CreateUserBodyWalletsItem> for CreateUserBodyWalletsItem
impl From<&CreateUserBodyWalletsItem> for CreateUserBodyWalletsItem
Source§fn from(value: &CreateUserBodyWalletsItem) -> Self
fn from(value: &CreateUserBodyWalletsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateUserBodyWalletsItem
impl RefUnwindSafe for CreateUserBodyWalletsItem
impl Send for CreateUserBodyWalletsItem
impl Sync for CreateUserBodyWalletsItem
impl Unpin for CreateUserBodyWalletsItem
impl UnwindSafe for CreateUserBodyWalletsItem
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