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