pub struct SparkTransferTokensRpcResponse {
pub data: Option<SparkTransferTokensRpcResponseData>,
pub method: SparkTransferTokensRpcResponseMethod,
}Expand description
Response to the Spark transferTokens RPC.
JSON schema
{
"title": "SparkTransferTokensRpcResponse",
"description": "Response to the Spark `transferTokens` RPC.",
"type": "object",
"required": [
"method"
],
"properties": {
"data": {
"$ref": "#/components/schemas/SparkTransferTokensRpcResponseData"
},
"method": {
"type": "string",
"enum": [
"transferTokens"
]
}
},
"x-stainless-model": "wallets.spark_transfer_tokens_rpc_response"
}Fields§
§data: Option<SparkTransferTokensRpcResponseData>§method: SparkTransferTokensRpcResponseMethodTrait Implementations§
Source§impl Clone for SparkTransferTokensRpcResponse
impl Clone for SparkTransferTokensRpcResponse
Source§fn clone(&self) -> SparkTransferTokensRpcResponse
fn clone(&self) -> SparkTransferTokensRpcResponse
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<'de> Deserialize<'de> for SparkTransferTokensRpcResponse
impl<'de> Deserialize<'de> for SparkTransferTokensRpcResponse
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<&SparkTransferTokensRpcResponse> for SparkTransferTokensRpcResponse
impl From<&SparkTransferTokensRpcResponse> for SparkTransferTokensRpcResponse
Source§fn from(value: &SparkTransferTokensRpcResponse) -> Self
fn from(value: &SparkTransferTokensRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<SparkTransferTokensRpcResponse> for SparkRpcResponse
impl From<SparkTransferTokensRpcResponse> for SparkRpcResponse
Source§fn from(value: SparkTransferTokensRpcResponse) -> Self
fn from(value: SparkTransferTokensRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<SparkTransferTokensRpcResponse> for WalletRpcResponse
impl From<SparkTransferTokensRpcResponse> for WalletRpcResponse
Source§fn from(value: SparkTransferTokensRpcResponse) -> Self
fn from(value: SparkTransferTokensRpcResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparkTransferTokensRpcResponse
impl RefUnwindSafe for SparkTransferTokensRpcResponse
impl Send for SparkTransferTokensRpcResponse
impl Sync for SparkTransferTokensRpcResponse
impl Unpin for SparkTransferTokensRpcResponse
impl UnsafeUnpin for SparkTransferTokensRpcResponse
impl UnwindSafe for SparkTransferTokensRpcResponse
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