pub struct SetPinAndInitWalletRequest {
pub idempotency_key: String,
pub account_type: Option<AccountType>,
pub blockchains: Option<Vec<Blockchain>>,
pub metadata: Option<Vec<WalletMetadata>>,
}Expand description
Request body for initializeUser (sets PIN and optionally creates wallets).
Fields§
§idempotency_key: StringClient-generated idempotency key (UUID).
account_type: Option<AccountType>Account type for newly created wallets.
blockchains: Option<Vec<Blockchain>>Blockchains on which to create wallets.
metadata: Option<Vec<WalletMetadata>>Optional per-wallet metadata.
Trait Implementations§
Source§impl Clone for SetPinAndInitWalletRequest
impl Clone for SetPinAndInitWalletRequest
Source§fn clone(&self) -> SetPinAndInitWalletRequest
fn clone(&self) -> SetPinAndInitWalletRequest
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 Debug for SetPinAndInitWalletRequest
impl Debug for SetPinAndInitWalletRequest
Source§impl<'de> Deserialize<'de> for SetPinAndInitWalletRequest
impl<'de> Deserialize<'de> for SetPinAndInitWalletRequest
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
Auto Trait Implementations§
impl Freeze for SetPinAndInitWalletRequest
impl RefUnwindSafe for SetPinAndInitWalletRequest
impl Send for SetPinAndInitWalletRequest
impl Sync for SetPinAndInitWalletRequest
impl Unpin for SetPinAndInitWalletRequest
impl UnsafeUnpin for SetPinAndInitWalletRequest
impl UnwindSafe for SetPinAndInitWalletRequest
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