pub struct SmartWalletConfigurationEnabled {
pub configured_networks: Vec<SmartWalletNetworkConfiguration>,
pub enabled: bool,
pub smart_wallet_type: SmartWalletType,
pub smart_wallet_version: Option<String>,
}Expand description
An enabled smart wallet configuration.
JSON schema
{
"title": "SmartWalletConfigurationEnabled",
"description": "An enabled smart wallet configuration.",
"type": "object",
"required": [
"configured_networks",
"enabled",
"smart_wallet_type"
],
"properties": {
"configured_networks": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SmartWalletNetworkConfiguration"
},
"minItems": 1
},
"enabled": {
"type": "boolean",
"enum": [
true
]
},
"smart_wallet_type": {
"$ref": "#/components/schemas/SmartWalletType"
},
"smart_wallet_version": {
"type": "string"
}
},
"x-stainless-model":
"embedded_wallets.smart_wallet_configuration_enabled"
}Fields§
§configured_networks: Vec<SmartWalletNetworkConfiguration>§enabled: bool§smart_wallet_type: SmartWalletType§smart_wallet_version: Option<String>Trait Implementations§
Source§impl Clone for SmartWalletConfigurationEnabled
impl Clone for SmartWalletConfigurationEnabled
Source§fn clone(&self) -> SmartWalletConfigurationEnabled
fn clone(&self) -> SmartWalletConfigurationEnabled
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SmartWalletConfigurationEnabled
impl<'de> Deserialize<'de> for SmartWalletConfigurationEnabled
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<&SmartWalletConfigurationEnabled> for SmartWalletConfigurationEnabled
impl From<&SmartWalletConfigurationEnabled> for SmartWalletConfigurationEnabled
Source§fn from(value: &SmartWalletConfigurationEnabled) -> Self
fn from(value: &SmartWalletConfigurationEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SmartWalletConfigurationEnabled> for SmartWalletConfiguration
impl From<SmartWalletConfigurationEnabled> for SmartWalletConfiguration
Source§fn from(value: SmartWalletConfigurationEnabled) -> Self
fn from(value: SmartWalletConfigurationEnabled) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SmartWalletConfigurationEnabled
impl RefUnwindSafe for SmartWalletConfigurationEnabled
impl Send for SmartWalletConfigurationEnabled
impl Sync for SmartWalletConfigurationEnabled
impl Unpin for SmartWalletConfigurationEnabled
impl UnsafeUnpin for SmartWalletConfigurationEnabled
impl UnwindSafe for SmartWalletConfigurationEnabled
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