pub struct SolanaSignAndSendTransactionRpcInput {
pub address: Option<String>,
pub caip2: SolanaSignAndSendTransactionRpcInputCaip2,
pub chain_type: Option<SolanaSignAndSendTransactionRpcInputChainType>,
pub method: SolanaSignAndSendTransactionRpcInputMethod,
pub params: SolanaSignAndSendTransactionRpcInputParams,
pub sponsor: Option<bool>,
}Expand description
SolanaSignAndSendTransactionRpcInput
JSON schema
{
"type": "object",
"required": [
"caip2",
"method",
"params"
],
"properties": {
"address": {
"type": "string"
},
"caip2": {
"type": "string",
"pattern": "^[-a-z0-9]{3,8}:[-_a-zA-Z0-9]{1,32}$"
},
"chain_type": {
"type": "string",
"enum": [
"solana"
]
},
"method": {
"type": "string",
"enum": [
"signAndSendTransaction"
]
},
"params": {
"type": "object",
"required": [
"encoding",
"transaction"
],
"properties": {
"encoding": {
"type": "string",
"enum": [
"base64"
]
},
"transaction": {
"type": "string"
}
}
},
"sponsor": {
"type": "boolean"
}
}
}Fields§
§address: Option<String>§caip2: SolanaSignAndSendTransactionRpcInputCaip2§chain_type: Option<SolanaSignAndSendTransactionRpcInputChainType>§method: SolanaSignAndSendTransactionRpcInputMethod§params: SolanaSignAndSendTransactionRpcInputParams§sponsor: Option<bool>Trait Implementations§
Source§impl Clone for SolanaSignAndSendTransactionRpcInput
impl Clone for SolanaSignAndSendTransactionRpcInput
Source§fn clone(&self) -> SolanaSignAndSendTransactionRpcInput
fn clone(&self) -> SolanaSignAndSendTransactionRpcInput
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 SolanaSignAndSendTransactionRpcInput
impl<'de> Deserialize<'de> for SolanaSignAndSendTransactionRpcInput
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<&SolanaSignAndSendTransactionRpcInput> for SolanaSignAndSendTransactionRpcInput
impl From<&SolanaSignAndSendTransactionRpcInput> for SolanaSignAndSendTransactionRpcInput
Source§fn from(value: &SolanaSignAndSendTransactionRpcInput) -> Self
fn from(value: &SolanaSignAndSendTransactionRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SolanaSignAndSendTransactionRpcInput> for WalletRpcBody
impl From<SolanaSignAndSendTransactionRpcInput> for WalletRpcBody
Source§fn from(value: SolanaSignAndSendTransactionRpcInput) -> Self
fn from(value: SolanaSignAndSendTransactionRpcInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SolanaSignAndSendTransactionRpcInput
impl RefUnwindSafe for SolanaSignAndSendTransactionRpcInput
impl Send for SolanaSignAndSendTransactionRpcInput
impl Sync for SolanaSignAndSendTransactionRpcInput
impl Unpin for SolanaSignAndSendTransactionRpcInput
impl UnwindSafe for SolanaSignAndSendTransactionRpcInput
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