pub struct UserBatchCreateInput {
pub users: Vec<UserBatchCreateInputUsersItem>,
}Expand description
The payload for batch creating users.
JSON schema
{
"title": "UserBatchCreateInput",
"description": "The payload for batch creating users.",
"type": "object",
"required": [
"users"
],
"properties": {
"users": {
"type": "array",
"items": {
"type": "object",
"required": [
"linked_accounts"
],
"properties": {
"create_embedded_wallet": {
"type": "boolean"
},
"create_ethereum_smart_wallet": {
"type": "boolean"
},
"create_ethereum_wallet": {
"type": "boolean"
},
"create_n_embedded_wallets": {
"type": "number",
"maximum": 10.0,
"minimum": 1.0
},
"create_n_ethereum_wallets": {
"type": "number",
"maximum": 10.0,
"minimum": 1.0
},
"create_solana_wallet": {
"type": "boolean"
},
"custom_metadata": {
"$ref": "#/components/schemas/CustomMetadata"
},
"linked_accounts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/LinkedAccountInput"
},
"minItems": 1
},
"wallets": {
"description": "Wallets to create.",
"type": "array",
"items": {
"$ref": "#/components/schemas/WalletCreationInput"
}
}
}
},
"maxItems": 20
}
},
"x-stainless-model": "users.user_batch_create_input"
}Fields§
§users: Vec<UserBatchCreateInputUsersItem>Trait Implementations§
Source§impl Clone for UserBatchCreateInput
impl Clone for UserBatchCreateInput
Source§fn clone(&self) -> UserBatchCreateInput
fn clone(&self) -> UserBatchCreateInput
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 UserBatchCreateInput
impl Debug for UserBatchCreateInput
Source§impl<'de> Deserialize<'de> for UserBatchCreateInput
impl<'de> Deserialize<'de> for UserBatchCreateInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UserBatchCreateInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UserBatchCreateInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&UserBatchCreateInput> for UserBatchCreateInput
impl From<&UserBatchCreateInput> for UserBatchCreateInput
Source§fn from(value: &UserBatchCreateInput) -> UserBatchCreateInput
fn from(value: &UserBatchCreateInput) -> UserBatchCreateInput
Converts to this type from the input type.
Source§impl Serialize for UserBatchCreateInput
impl Serialize for UserBatchCreateInput
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 UserBatchCreateInput
impl RefUnwindSafe for UserBatchCreateInput
impl Send for UserBatchCreateInput
impl Sync for UserBatchCreateInput
impl Unpin for UserBatchCreateInput
impl UnsafeUnpin for UserBatchCreateInput
impl UnwindSafe for UserBatchCreateInput
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