pub enum SolanaRpcResponse {
MessageRpcResponse(SolanaSignMessageRpcResponse),
TransactionRpcResponse(SolanaSignTransactionRpcResponse),
AndSendTransactionRpcResponse(SolanaSignAndSendTransactionRpcResponse),
}Expand description
Response body for Solana wallet RPC operations, discriminated by method.
JSON schema
{
"title": "SolanaRpcResponse",
"description": "Response body for Solana wallet RPC operations,
discriminated by method.",
"oneOf": [
{
"$ref": "#/components/schemas/SolanaSignMessageRpcResponse"
},
{
"$ref": "#/components/schemas/SolanaSignTransactionRpcResponse"
},
{
"$ref":
"#/components/schemas/SolanaSignAndSendTransactionRpcResponse"
}
],
"x-stainless-model": "wallets.solana_rpc_response"
}Variants§
MessageRpcResponse(SolanaSignMessageRpcResponse)
TransactionRpcResponse(SolanaSignTransactionRpcResponse)
AndSendTransactionRpcResponse(SolanaSignAndSendTransactionRpcResponse)
Trait Implementations§
Source§impl Clone for SolanaRpcResponse
impl Clone for SolanaRpcResponse
Source§fn clone(&self) -> SolanaRpcResponse
fn clone(&self) -> SolanaRpcResponse
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 SolanaRpcResponse
impl Debug for SolanaRpcResponse
Source§impl<'de> Deserialize<'de> for SolanaRpcResponse
impl<'de> Deserialize<'de> for SolanaRpcResponse
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<&SolanaRpcResponse> for SolanaRpcResponse
impl From<&SolanaRpcResponse> for SolanaRpcResponse
Source§fn from(value: &SolanaRpcResponse) -> Self
fn from(value: &SolanaRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignAndSendTransactionRpcResponse> for SolanaRpcResponse
impl From<SolanaSignAndSendTransactionRpcResponse> for SolanaRpcResponse
Source§fn from(value: SolanaSignAndSendTransactionRpcResponse) -> Self
fn from(value: SolanaSignAndSendTransactionRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignMessageRpcResponse> for SolanaRpcResponse
impl From<SolanaSignMessageRpcResponse> for SolanaRpcResponse
Source§fn from(value: SolanaSignMessageRpcResponse) -> Self
fn from(value: SolanaSignMessageRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignTransactionRpcResponse> for SolanaRpcResponse
impl From<SolanaSignTransactionRpcResponse> for SolanaRpcResponse
Source§fn from(value: SolanaSignTransactionRpcResponse) -> Self
fn from(value: SolanaSignTransactionRpcResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SolanaRpcResponse
impl RefUnwindSafe for SolanaRpcResponse
impl Send for SolanaRpcResponse
impl Sync for SolanaRpcResponse
impl Unpin for SolanaRpcResponse
impl UnsafeUnpin for SolanaRpcResponse
impl UnwindSafe for SolanaRpcResponse
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