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