pub struct AppResponseEmbeddedWalletConfig {
pub create_on_login: AppResponseEmbeddedWalletConfigCreateOnLogin,
pub ethereum: AppResponseEmbeddedWalletConfigEthereum,
pub mode: AppResponseEmbeddedWalletConfigMode,
pub require_user_owned_recovery_on_create: Option<bool>,
pub require_user_password_on_create: Option<bool>,
pub solana: AppResponseEmbeddedWalletConfigSolana,
pub user_owned_recovery_options: Vec<AppResponseEmbeddedWalletConfigUserOwnedRecoveryOptionsItem>,
}Expand description
AppResponseEmbeddedWalletConfig
JSON schema
{
"type": "object",
"required": [
"create_on_login",
"ethereum",
"mode",
"solana",
"user_owned_recovery_options"
],
"properties": {
"create_on_login": {
"type": "string",
"enum": [
"all-users",
"off",
"users-without-wallets"
]
},
"ethereum": {
"type": "object",
"required": [
"create_on_login"
],
"properties": {
"create_on_login": {
"type": "string",
"enum": [
"all-users",
"off",
"users-without-wallets"
]
}
}
},
"mode": {
"type": "string",
"enum": [
"legacy-embedded-wallets-only",
"user-controlled-server-wallets-only"
]
},
"require_user_owned_recovery_on_create": {
"type": "boolean"
},
"require_user_password_on_create": {
"type": "boolean"
},
"solana": {
"type": "object",
"required": [
"create_on_login"
],
"properties": {
"create_on_login": {
"type": "string",
"enum": [
"all-users",
"off",
"users-without-wallets"
]
}
}
},
"user_owned_recovery_options": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google-drive",
"icloud",
"user-passcode"
]
}
}
}
}Fields§
§create_on_login: AppResponseEmbeddedWalletConfigCreateOnLogin§ethereum: AppResponseEmbeddedWalletConfigEthereum§mode: AppResponseEmbeddedWalletConfigMode§require_user_owned_recovery_on_create: Option<bool>§require_user_password_on_create: Option<bool>§solana: AppResponseEmbeddedWalletConfigSolana§user_owned_recovery_options: Vec<AppResponseEmbeddedWalletConfigUserOwnedRecoveryOptionsItem>Trait Implementations§
Source§impl Clone for AppResponseEmbeddedWalletConfig
impl Clone for AppResponseEmbeddedWalletConfig
Source§fn clone(&self) -> AppResponseEmbeddedWalletConfig
fn clone(&self) -> AppResponseEmbeddedWalletConfig
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 AppResponseEmbeddedWalletConfig
impl<'de> Deserialize<'de> for AppResponseEmbeddedWalletConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AppResponseEmbeddedWalletConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AppResponseEmbeddedWalletConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AppResponseEmbeddedWalletConfig> for AppResponseEmbeddedWalletConfig
impl From<&AppResponseEmbeddedWalletConfig> for AppResponseEmbeddedWalletConfig
Source§fn from(
value: &AppResponseEmbeddedWalletConfig,
) -> AppResponseEmbeddedWalletConfig
fn from( value: &AppResponseEmbeddedWalletConfig, ) -> AppResponseEmbeddedWalletConfig
Converts to this type from the input type.
Source§impl Serialize for AppResponseEmbeddedWalletConfig
impl Serialize for AppResponseEmbeddedWalletConfig
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 AppResponseEmbeddedWalletConfig
impl RefUnwindSafe for AppResponseEmbeddedWalletConfig
impl Send for AppResponseEmbeddedWalletConfig
impl Sync for AppResponseEmbeddedWalletConfig
impl Unpin for AppResponseEmbeddedWalletConfig
impl UnwindSafe for AppResponseEmbeddedWalletConfig
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