pub struct SparkTransferTokensRpcInput {
pub method: SparkTransferTokensRpcInputMethod,
pub network: Option<SparkNetwork>,
pub params: SparkTransferTokensRpcInputParams,
}Expand description
Transfers tokens to a Spark address.
JSON schema
{
"title": "SparkTransferTokensRpcInput",
"description": "Transfers tokens to a Spark address.",
"type": "object",
"required": [
"method",
"params"
],
"properties": {
"method": {
"type": "string",
"enum": [
"transferTokens"
]
},
"network": {
"allOf": [
{
"$ref": "#/components/schemas/SparkNetwork"
},
{
"default": "MAINNET"
}
]
},
"params": {
"$ref": "#/components/schemas/SparkTransferTokensRpcInputParams"
}
},
"x-stainless-model": "wallets.spark_transfer_tokens_rpc_input"
}Fields§
§method: SparkTransferTokensRpcInputMethod§network: Option<SparkNetwork>§params: SparkTransferTokensRpcInputParamsTrait Implementations§
Source§impl Clone for SparkTransferTokensRpcInput
impl Clone for SparkTransferTokensRpcInput
Source§fn clone(&self) -> SparkTransferTokensRpcInput
fn clone(&self) -> SparkTransferTokensRpcInput
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 SparkTransferTokensRpcInput
impl Debug for SparkTransferTokensRpcInput
Source§impl<'de> Deserialize<'de> for SparkTransferTokensRpcInput
impl<'de> Deserialize<'de> for SparkTransferTokensRpcInput
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<&SparkTransferTokensRpcInput> for SparkTransferTokensRpcInput
impl From<&SparkTransferTokensRpcInput> for SparkTransferTokensRpcInput
Source§fn from(value: &SparkTransferTokensRpcInput) -> Self
fn from(value: &SparkTransferTokensRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkTransferTokensRpcInput> for SparkRpcInput
impl From<SparkTransferTokensRpcInput> for SparkRpcInput
Source§fn from(value: SparkTransferTokensRpcInput) -> Self
fn from(value: SparkTransferTokensRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<SparkTransferTokensRpcInput> for WalletRpcRequestBody
impl From<SparkTransferTokensRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkTransferTokensRpcInput) -> Self
fn from(value: SparkTransferTokensRpcInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparkTransferTokensRpcInput
impl RefUnwindSafe for SparkTransferTokensRpcInput
impl Send for SparkTransferTokensRpcInput
impl Sync for SparkTransferTokensRpcInput
impl Unpin for SparkTransferTokensRpcInput
impl UnsafeUnpin for SparkTransferTokensRpcInput
impl UnwindSafe for SparkTransferTokensRpcInput
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