pub struct CustodialWalletCreateInput {
pub additional_signers: Option<AdditionalSignerInput>,
pub chain_type: CustodialWalletChainType,
pub owner: Option<OwnerInput>,
pub policy_ids: Option<PolicyInput>,
pub provider: CustodialWalletProvider,
pub provider_user_id: CustodialWalletCreateInputProviderUserId,
}Expand description
The input for creating a custodial wallet.
JSON schema
{
"title": "CustodialWalletCreateInput",
"description": "The input for creating a custodial wallet.",
"examples": [
{
"chain_type": "ethereum",
"provider": "bridge",
"provider_user_id": "1234567890"
}
],
"type": "object",
"required": [
"chain_type",
"provider",
"provider_user_id"
],
"properties": {
"additional_signers": {
"$ref": "#/components/schemas/AdditionalSignerInput"
},
"chain_type": {
"$ref": "#/components/schemas/CustodialWalletChainType"
},
"owner": {
"$ref": "#/components/schemas/OwnerInput"
},
"policy_ids": {
"$ref": "#/components/schemas/PolicyInput"
},
"provider": {
"$ref": "#/components/schemas/CustodialWalletProvider"
},
"provider_user_id": {
"description": "The resource ID of the beneficiary of the custodial
wallet, given by the licensing provider.",
"type": "string",
"minLength": 1
}
},
"x-stainless-model": "wallets.custodial_wallet_create_input"
}Fields§
§additional_signers: Option<AdditionalSignerInput>§chain_type: CustodialWalletChainType§owner: Option<OwnerInput>§policy_ids: Option<PolicyInput>§provider: CustodialWalletProvider§provider_user_id: CustodialWalletCreateInputProviderUserIdThe resource ID of the beneficiary of the custodial wallet, given by the licensing provider.
Trait Implementations§
Source§impl Clone for CustodialWalletCreateInput
impl Clone for CustodialWalletCreateInput
Source§fn clone(&self) -> CustodialWalletCreateInput
fn clone(&self) -> CustodialWalletCreateInput
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 CustodialWalletCreateInput
impl Debug for CustodialWalletCreateInput
Source§impl<'de> Deserialize<'de> for CustodialWalletCreateInput
impl<'de> Deserialize<'de> for CustodialWalletCreateInput
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<&CustodialWalletCreateInput> for CustodialWalletCreateInput
impl From<&CustodialWalletCreateInput> for CustodialWalletCreateInput
Source§fn from(value: &CustodialWalletCreateInput) -> Self
fn from(value: &CustodialWalletCreateInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CustodialWalletCreateInput
impl RefUnwindSafe for CustodialWalletCreateInput
impl Send for CustodialWalletCreateInput
impl Sync for CustodialWalletCreateInput
impl Unpin for CustodialWalletCreateInput
impl UnsafeUnpin for CustodialWalletCreateInput
impl UnwindSafe for CustodialWalletCreateInput
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