pub struct EmbeddedWalletInputSchema {
pub create_on_login: EmbeddedWalletCreateOnLogin,
pub ethereum: EmbeddedWalletChainConfig,
pub require_user_owned_recovery_on_create: Option<bool>,
pub require_user_password_on_create: Option<bool>,
pub solana: EmbeddedWalletChainConfig,
pub user_owned_recovery_options: Vec<UserOwnedRecoveryOption>,
}Expand description
Input configuration for embedded wallets.
JSON schema
{
"title": "EmbeddedWalletInputSchema",
"description": "Input configuration for embedded wallets.",
"type": "object",
"required": [
"create_on_login",
"ethereum",
"solana",
"user_owned_recovery_options"
],
"properties": {
"create_on_login": {
"$ref": "#/components/schemas/EmbeddedWalletCreateOnLogin"
},
"ethereum": {
"$ref": "#/components/schemas/EmbeddedWalletChainConfig"
},
"require_user_owned_recovery_on_create": {
"type": "boolean"
},
"require_user_password_on_create": {
"type": "boolean"
},
"solana": {
"$ref": "#/components/schemas/EmbeddedWalletChainConfig"
},
"user_owned_recovery_options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserOwnedRecoveryOption"
}
}
},
"x-stainless-model": "apps.embedded_wallet_input_schema"
}Fields§
§create_on_login: EmbeddedWalletCreateOnLogin§ethereum: EmbeddedWalletChainConfig§require_user_owned_recovery_on_create: Option<bool>§require_user_password_on_create: Option<bool>§solana: EmbeddedWalletChainConfig§user_owned_recovery_options: Vec<UserOwnedRecoveryOption>Trait Implementations§
Source§impl Clone for EmbeddedWalletInputSchema
impl Clone for EmbeddedWalletInputSchema
Source§fn clone(&self) -> EmbeddedWalletInputSchema
fn clone(&self) -> EmbeddedWalletInputSchema
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 Debug for EmbeddedWalletInputSchema
impl Debug for EmbeddedWalletInputSchema
Source§impl<'de> Deserialize<'de> for EmbeddedWalletInputSchema
impl<'de> Deserialize<'de> for EmbeddedWalletInputSchema
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EmbeddedWalletInputSchema, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EmbeddedWalletInputSchema, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&EmbeddedWalletInputSchema> for EmbeddedWalletInputSchema
impl From<&EmbeddedWalletInputSchema> for EmbeddedWalletInputSchema
Source§fn from(value: &EmbeddedWalletInputSchema) -> EmbeddedWalletInputSchema
fn from(value: &EmbeddedWalletInputSchema) -> EmbeddedWalletInputSchema
Converts to this type from the input type.
Source§impl Serialize for EmbeddedWalletInputSchema
impl Serialize for EmbeddedWalletInputSchema
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 EmbeddedWalletInputSchema
impl RefUnwindSafe for EmbeddedWalletInputSchema
impl Send for EmbeddedWalletInputSchema
impl Sync for EmbeddedWalletInputSchema
impl Unpin for EmbeddedWalletInputSchema
impl UnsafeUnpin for EmbeddedWalletInputSchema
impl UnwindSafe for EmbeddedWalletInputSchema
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