pub struct UpdateWalletBody {
pub additional_signers: Option<WalletAdditionalSigner>,
pub owner: Option<OwnerInput>,
pub owner_id: Option<OwnerIdInput>,
pub policy_ids: Vec<UpdateWalletBodyPolicyIdsItem>,
}Expand description
UpdateWalletBody
JSON schema
{
"examples": [
{
"policy_ids": [
"tb54eps4z44ed0jepousxi4n"
]
}
],
"type": "object",
"properties": {
"additional_signers": {
"$ref": "#/components/schemas/WalletAdditionalSigner"
},
"owner": {
"$ref": "#/components/schemas/OwnerInput"
},
"owner_id": {
"allOf": [
{
"$ref": "#/components/schemas/OwnerIdInput"
},
{}
]
},
"policy_ids": {
"description": "New 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: Option<WalletAdditionalSigner>§owner: Option<OwnerInput>§owner_id: Option<OwnerIdInput>§policy_ids: Vec<UpdateWalletBodyPolicyIdsItem>New policy IDs to enforce on the wallet. Currently, only one policy is supported per wallet.
Trait Implementations§
Source§impl Clone for UpdateWalletBody
impl Clone for UpdateWalletBody
Source§fn clone(&self) -> UpdateWalletBody
fn clone(&self) -> UpdateWalletBody
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 UpdateWalletBody
impl Debug for UpdateWalletBody
Source§impl Default for UpdateWalletBody
impl Default for UpdateWalletBody
Source§impl<'de> Deserialize<'de> for UpdateWalletBody
impl<'de> Deserialize<'de> for UpdateWalletBody
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<&UpdateWalletBody> for UpdateWalletBody
impl From<&UpdateWalletBody> for UpdateWalletBody
Source§fn from(value: &UpdateWalletBody) -> Self
fn from(value: &UpdateWalletBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateWalletBody
impl RefUnwindSafe for UpdateWalletBody
impl Send for UpdateWalletBody
impl Sync for UpdateWalletBody
impl Unpin for UpdateWalletBody
impl UnwindSafe for UpdateWalletBody
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