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<SparkGetStaticDepositAddressRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SparkGetStaticDepositAddressRpcInput, <__D as Deserializer<'de>>::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,
) -> SparkGetStaticDepositAddressRpcInput
fn from( value: &SparkGetStaticDepositAddressRpcInput, ) -> SparkGetStaticDepositAddressRpcInput
Converts to this type from the input type.
Source§impl From<SparkGetStaticDepositAddressRpcInput> for SparkRpcInput
impl From<SparkGetStaticDepositAddressRpcInput> for SparkRpcInput
Source§fn from(value: SparkGetStaticDepositAddressRpcInput) -> SparkRpcInput
fn from(value: SparkGetStaticDepositAddressRpcInput) -> SparkRpcInput
Converts to this type from the input type.
Source§impl From<SparkGetStaticDepositAddressRpcInput> for WalletRpcRequestBody
impl From<SparkGetStaticDepositAddressRpcInput> for WalletRpcRequestBody
Source§fn from(value: SparkGetStaticDepositAddressRpcInput) -> WalletRpcRequestBody
fn from(value: SparkGetStaticDepositAddressRpcInput) -> WalletRpcRequestBody
Converts to this type from the input type.
Source§impl Serialize for SparkGetStaticDepositAddressRpcInput
impl Serialize for SparkGetStaticDepositAddressRpcInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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