pub enum AppWalletRpcBody {
EthereumPersonalSignRpcInput(EthereumPersonalSignRpcInput),
EthereumSignTypedDataRpcInput(EthereumSignTypedDataRpcInput),
EthereumSignTransactionRpcInput(EthereumSignTransactionRpcInput),
EthereumSignUserOperationRpcInput(EthereumSignUserOperationRpcInput),
EthereumSendTransactionRpcInput(EthereumSendTransactionRpcInput),
EthereumSign7702AuthorizationRpcInput(EthereumSign7702AuthorizationRpcInput),
EthereumSecp256k1SignRpcInput(EthereumSecp256k1SignRpcInput),
SolanaSignMessageRpcInput(SolanaSignMessageRpcInput),
SolanaSignTransactionRpcInput(SolanaSignTransactionRpcInput),
SolanaSignAndSendTransactionRpcInput(SolanaSignAndSendTransactionRpcInput),
}Expand description
AppWalletRpcBody
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/EthereumPersonalSignRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSignTypedDataRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSignTransactionRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSignUserOperationRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSendTransactionRpcInput"
},
{
"$ref":
"#/components/schemas/EthereumSign7702AuthorizationRpcInput"
},
{
"$ref": "#/components/schemas/EthereumSecp256k1SignRpcInput"
},
{
"$ref": "#/components/schemas/SolanaSignMessageRpcInput"
},
{
"$ref": "#/components/schemas/SolanaSignTransactionRpcInput"
},
{
"$ref": "#/components/schemas/SolanaSignAndSendTransactionRpcInput"
}
]
}Variants§
EthereumPersonalSignRpcInput(EthereumPersonalSignRpcInput)
EthereumSignTypedDataRpcInput(EthereumSignTypedDataRpcInput)
EthereumSignTransactionRpcInput(EthereumSignTransactionRpcInput)
EthereumSignUserOperationRpcInput(EthereumSignUserOperationRpcInput)
EthereumSendTransactionRpcInput(EthereumSendTransactionRpcInput)
EthereumSign7702AuthorizationRpcInput(EthereumSign7702AuthorizationRpcInput)
EthereumSecp256k1SignRpcInput(EthereumSecp256k1SignRpcInput)
SolanaSignMessageRpcInput(SolanaSignMessageRpcInput)
SolanaSignTransactionRpcInput(SolanaSignTransactionRpcInput)
SolanaSignAndSendTransactionRpcInput(SolanaSignAndSendTransactionRpcInput)
Trait Implementations§
Source§impl Clone for AppWalletRpcBody
impl Clone for AppWalletRpcBody
Source§fn clone(&self) -> AppWalletRpcBody
fn clone(&self) -> AppWalletRpcBody
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 AppWalletRpcBody
impl Debug for AppWalletRpcBody
Source§impl<'de> Deserialize<'de> for AppWalletRpcBody
impl<'de> Deserialize<'de> for AppWalletRpcBody
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<&AppWalletRpcBody> for AppWalletRpcBody
impl From<&AppWalletRpcBody> for AppWalletRpcBody
Source§fn from(value: &AppWalletRpcBody) -> Self
fn from(value: &AppWalletRpcBody) -> Self
Converts to this type from the input type.
Source§impl From<EthereumPersonalSignRpcInput> for AppWalletRpcBody
impl From<EthereumPersonalSignRpcInput> for AppWalletRpcBody
Source§fn from(value: EthereumPersonalSignRpcInput) -> Self
fn from(value: EthereumPersonalSignRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSecp256k1SignRpcInput> for AppWalletRpcBody
impl From<EthereumSecp256k1SignRpcInput> for AppWalletRpcBody
Source§fn from(value: EthereumSecp256k1SignRpcInput) -> Self
fn from(value: EthereumSecp256k1SignRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSendTransactionRpcInput> for AppWalletRpcBody
impl From<EthereumSendTransactionRpcInput> for AppWalletRpcBody
Source§fn from(value: EthereumSendTransactionRpcInput) -> Self
fn from(value: EthereumSendTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSign7702AuthorizationRpcInput> for AppWalletRpcBody
impl From<EthereumSign7702AuthorizationRpcInput> for AppWalletRpcBody
Source§fn from(value: EthereumSign7702AuthorizationRpcInput) -> Self
fn from(value: EthereumSign7702AuthorizationRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTransactionRpcInput> for AppWalletRpcBody
impl From<EthereumSignTransactionRpcInput> for AppWalletRpcBody
Source§fn from(value: EthereumSignTransactionRpcInput) -> Self
fn from(value: EthereumSignTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignTypedDataRpcInput> for AppWalletRpcBody
impl From<EthereumSignTypedDataRpcInput> for AppWalletRpcBody
Source§fn from(value: EthereumSignTypedDataRpcInput) -> Self
fn from(value: EthereumSignTypedDataRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<EthereumSignUserOperationRpcInput> for AppWalletRpcBody
impl From<EthereumSignUserOperationRpcInput> for AppWalletRpcBody
Source§fn from(value: EthereumSignUserOperationRpcInput) -> Self
fn from(value: EthereumSignUserOperationRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignAndSendTransactionRpcInput> for AppWalletRpcBody
impl From<SolanaSignAndSendTransactionRpcInput> for AppWalletRpcBody
Source§fn from(value: SolanaSignAndSendTransactionRpcInput) -> Self
fn from(value: SolanaSignAndSendTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignMessageRpcInput> for AppWalletRpcBody
impl From<SolanaSignMessageRpcInput> for AppWalletRpcBody
Source§fn from(value: SolanaSignMessageRpcInput) -> Self
fn from(value: SolanaSignMessageRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignTransactionRpcInput> for AppWalletRpcBody
impl From<SolanaSignTransactionRpcInput> for AppWalletRpcBody
Source§fn from(value: SolanaSignTransactionRpcInput) -> Self
fn from(value: SolanaSignTransactionRpcInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppWalletRpcBody
impl RefUnwindSafe for AppWalletRpcBody
impl Send for AppWalletRpcBody
impl Sync for AppWalletRpcBody
impl Unpin for AppWalletRpcBody
impl UnsafeUnpin for AppWalletRpcBody
impl UnwindSafe for AppWalletRpcBody
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