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