pub enum SolanaRpcInput {
TransactionRpcInput(SolanaSignTransactionRpcInput),
AndSendTransactionRpcInput(SolanaSignAndSendTransactionRpcInput),
MessageRpcInput(SolanaSignMessageRpcInput),
}Expand description
Request body for Solana wallet RPC operations, discriminated by method.
JSON schema
{
"title": "SolanaRpcInput",
"description": "Request body for Solana wallet RPC operations,
discriminated by method.",
"oneOf": [
{
"$ref": "#/components/schemas/SolanaSignTransactionRpcInput"
},
{
"$ref": "#/components/schemas/SolanaSignAndSendTransactionRpcInput"
},
{
"$ref": "#/components/schemas/SolanaSignMessageRpcInput"
}
],
"x-stainless-model": "wallets.solana_rpc_input"
}Variants§
TransactionRpcInput(SolanaSignTransactionRpcInput)
AndSendTransactionRpcInput(SolanaSignAndSendTransactionRpcInput)
MessageRpcInput(SolanaSignMessageRpcInput)
Trait Implementations§
Source§impl Clone for SolanaRpcInput
impl Clone for SolanaRpcInput
Source§fn clone(&self) -> SolanaRpcInput
fn clone(&self) -> SolanaRpcInput
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 SolanaRpcInput
impl Debug for SolanaRpcInput
Source§impl<'de> Deserialize<'de> for SolanaRpcInput
impl<'de> Deserialize<'de> for SolanaRpcInput
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<&SolanaRpcInput> for SolanaRpcInput
impl From<&SolanaRpcInput> for SolanaRpcInput
Source§fn from(value: &SolanaRpcInput) -> Self
fn from(value: &SolanaRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignAndSendTransactionRpcInput> for SolanaRpcInput
impl From<SolanaSignAndSendTransactionRpcInput> for SolanaRpcInput
Source§fn from(value: SolanaSignAndSendTransactionRpcInput) -> Self
fn from(value: SolanaSignAndSendTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignMessageRpcInput> for SolanaRpcInput
impl From<SolanaSignMessageRpcInput> for SolanaRpcInput
Source§fn from(value: SolanaSignMessageRpcInput) -> Self
fn from(value: SolanaSignMessageRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignTransactionRpcInput> for SolanaRpcInput
impl From<SolanaSignTransactionRpcInput> for SolanaRpcInput
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 SolanaRpcInput
impl RefUnwindSafe for SolanaRpcInput
impl Send for SolanaRpcInput
impl Sync for SolanaRpcInput
impl Unpin for SolanaRpcInput
impl UnsafeUnpin for SolanaRpcInput
impl UnwindSafe for SolanaRpcInput
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