pub enum WalletImportSubmissionRequestWallet {
HdSubmitInput(HdSubmitInput),
PrivateKeySubmitInput(PrivateKeySubmitInput),
}Expand description
WalletImportSubmissionRequestWallet
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/HDSubmitInput"
},
{
"$ref": "#/components/schemas/PrivateKeySubmitInput"
}
]
}Variants§
HdSubmitInput(HdSubmitInput)
PrivateKeySubmitInput(PrivateKeySubmitInput)
Trait Implementations§
Source§impl Clone for WalletImportSubmissionRequestWallet
impl Clone for WalletImportSubmissionRequestWallet
Source§fn clone(&self) -> WalletImportSubmissionRequestWallet
fn clone(&self) -> WalletImportSubmissionRequestWallet
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 WalletImportSubmissionRequestWallet
impl<'de> Deserialize<'de> for WalletImportSubmissionRequestWallet
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<&WalletImportSubmissionRequestWallet> for WalletImportSubmissionRequestWallet
impl From<&WalletImportSubmissionRequestWallet> for WalletImportSubmissionRequestWallet
Source§fn from(value: &WalletImportSubmissionRequestWallet) -> Self
fn from(value: &WalletImportSubmissionRequestWallet) -> Self
Converts to this type from the input type.
Source§impl From<HdSubmitInput> for WalletImportSubmissionRequestWallet
impl From<HdSubmitInput> for WalletImportSubmissionRequestWallet
Source§fn from(value: HdSubmitInput) -> Self
fn from(value: HdSubmitInput) -> Self
Converts to this type from the input type.
Source§impl From<PrivateKeySubmitInput> for WalletImportSubmissionRequestWallet
impl From<PrivateKeySubmitInput> for WalletImportSubmissionRequestWallet
Source§fn from(value: PrivateKeySubmitInput) -> Self
fn from(value: PrivateKeySubmitInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletImportSubmissionRequestWallet
impl RefUnwindSafe for WalletImportSubmissionRequestWallet
impl Send for WalletImportSubmissionRequestWallet
impl Sync for WalletImportSubmissionRequestWallet
impl Unpin for WalletImportSubmissionRequestWallet
impl UnwindSafe for WalletImportSubmissionRequestWallet
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