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