pub struct SparkClaimStaticDepositRpcInputParams {
pub credit_amount_sats: f64,
pub output_index: Option<f64>,
pub signature: String,
pub transaction_id: String,
}Expand description
Parameters for the Spark claimStaticDeposit RPC.
JSON schema
{
"title": "SparkClaimStaticDepositRpcInputParams",
"description": "Parameters for the Spark `claimStaticDeposit` RPC.",
"type": "object",
"required": [
"credit_amount_sats",
"signature",
"transaction_id"
],
"properties": {
"credit_amount_sats": {
"type": "number"
},
"output_index": {
"type": "number"
},
"signature": {
"type": "string"
},
"transaction_id": {
"type": "string"
}
},
"x-stainless-model":
"wallets.spark_claim_static_deposit_rpc_input_params"
}Fields§
§credit_amount_sats: f64§output_index: Option<f64>§signature: String§transaction_id: StringTrait Implementations§
Source§impl Clone for SparkClaimStaticDepositRpcInputParams
impl Clone for SparkClaimStaticDepositRpcInputParams
Source§fn clone(&self) -> SparkClaimStaticDepositRpcInputParams
fn clone(&self) -> SparkClaimStaticDepositRpcInputParams
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 SparkClaimStaticDepositRpcInputParams
impl<'de> Deserialize<'de> for SparkClaimStaticDepositRpcInputParams
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<&SparkClaimStaticDepositRpcInputParams> for SparkClaimStaticDepositRpcInputParams
impl From<&SparkClaimStaticDepositRpcInputParams> for SparkClaimStaticDepositRpcInputParams
Source§fn from(value: &SparkClaimStaticDepositRpcInputParams) -> Self
fn from(value: &SparkClaimStaticDepositRpcInputParams) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparkClaimStaticDepositRpcInputParams
impl RefUnwindSafe for SparkClaimStaticDepositRpcInputParams
impl Send for SparkClaimStaticDepositRpcInputParams
impl Sync for SparkClaimStaticDepositRpcInputParams
impl Unpin for SparkClaimStaticDepositRpcInputParams
impl UnsafeUnpin for SparkClaimStaticDepositRpcInputParams
impl UnwindSafe for SparkClaimStaticDepositRpcInputParams
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