pub struct SolanaSignTransactionRpcInput {
pub address: Option<String>,
pub chain_type: Option<SolanaSignTransactionRpcInputChainType>,
pub method: SolanaSignTransactionRpcInputMethod,
pub params: SolanaSignTransactionRpcInputParams,
}Expand description
SolanaSignTransactionRpcInput
JSON schema
{
"type": "object",
"required": [
"method",
"params"
],
"properties": {
"address": {
"type": "string"
},
"chain_type": {
"type": "string",
"enum": [
"solana"
]
},
"method": {
"type": "string",
"enum": [
"signTransaction"
]
},
"params": {
"type": "object",
"required": [
"encoding",
"transaction"
],
"properties": {
"encoding": {
"type": "string",
"enum": [
"base64"
]
},
"transaction": {
"type": "string"
}
}
}
}
}Fields§
§address: Option<String>§chain_type: Option<SolanaSignTransactionRpcInputChainType>§method: SolanaSignTransactionRpcInputMethod§params: SolanaSignTransactionRpcInputParamsTrait Implementations§
Source§impl Clone for SolanaSignTransactionRpcInput
impl Clone for SolanaSignTransactionRpcInput
Source§fn clone(&self) -> SolanaSignTransactionRpcInput
fn clone(&self) -> SolanaSignTransactionRpcInput
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 SolanaSignTransactionRpcInput
impl<'de> Deserialize<'de> for SolanaSignTransactionRpcInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SolanaSignTransactionRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SolanaSignTransactionRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SolanaSignTransactionRpcInput> for SolanaSignTransactionRpcInput
impl From<&SolanaSignTransactionRpcInput> for SolanaSignTransactionRpcInput
Source§fn from(value: &SolanaSignTransactionRpcInput) -> SolanaSignTransactionRpcInput
fn from(value: &SolanaSignTransactionRpcInput) -> SolanaSignTransactionRpcInput
Converts to this type from the input type.
Source§impl From<SolanaSignTransactionRpcInput> for WalletRpcBody
impl From<SolanaSignTransactionRpcInput> for WalletRpcBody
Source§fn from(value: SolanaSignTransactionRpcInput) -> WalletRpcBody
fn from(value: SolanaSignTransactionRpcInput) -> WalletRpcBody
Converts to this type from the input type.
Source§impl Serialize for SolanaSignTransactionRpcInput
impl Serialize for SolanaSignTransactionRpcInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SolanaSignTransactionRpcInput
impl RefUnwindSafe for SolanaSignTransactionRpcInput
impl Send for SolanaSignTransactionRpcInput
impl Sync for SolanaSignTransactionRpcInput
impl Unpin for SolanaSignTransactionRpcInput
impl UnwindSafe for SolanaSignTransactionRpcInput
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