pub enum WalletImportInitializationRequest {
HdInitInput(HdInitInput),
PrivateKeyInitInput(PrivateKeyInitInput),
}Expand description
WalletImportInitializationRequest
JSON schema
{
"title": "Wallet import initialization request",
"examples": [
{
"address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496",
"chain_type": "ethereum",
"encryption_type": "HPKE",
"entropy_type": "private-key"
}
],
"oneOf": [
{
"$ref": "#/components/schemas/HDInitInput"
},
{
"$ref": "#/components/schemas/PrivateKeyInitInput"
}
]
}Variants§
HdInitInput(HdInitInput)
PrivateKeyInitInput(PrivateKeyInitInput)
Trait Implementations§
Source§impl Clone for WalletImportInitializationRequest
impl Clone for WalletImportInitializationRequest
Source§fn clone(&self) -> WalletImportInitializationRequest
fn clone(&self) -> WalletImportInitializationRequest
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 WalletImportInitializationRequest
impl<'de> Deserialize<'de> for WalletImportInitializationRequest
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<&WalletImportInitializationRequest> for WalletImportInitializationRequest
impl From<&WalletImportInitializationRequest> for WalletImportInitializationRequest
Source§fn from(value: &WalletImportInitializationRequest) -> Self
fn from(value: &WalletImportInitializationRequest) -> Self
Converts to this type from the input type.
Source§impl From<HdInitInput> for WalletImportInitializationRequest
impl From<HdInitInput> for WalletImportInitializationRequest
Source§fn from(value: HdInitInput) -> Self
fn from(value: HdInitInput) -> Self
Converts to this type from the input type.
Source§impl From<PrivateKeyInitInput> for WalletImportInitializationRequest
impl From<PrivateKeyInitInput> for WalletImportInitializationRequest
Source§fn from(value: PrivateKeyInitInput) -> Self
fn from(value: PrivateKeyInitInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletImportInitializationRequest
impl RefUnwindSafe for WalletImportInitializationRequest
impl Send for WalletImportInitializationRequest
impl Sync for WalletImportInitializationRequest
impl Unpin for WalletImportInitializationRequest
impl UnwindSafe for WalletImportInitializationRequest
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