pub struct SparkLightningFee {
pub original_unit: String,
pub original_value: f64,
}Expand description
The fee for a Spark Lightning payment.
JSON schema
{
"title": "SparkLightningFee",
"description": "The fee for a Spark Lightning payment.",
"type": "object",
"required": [
"original_unit",
"original_value"
],
"properties": {
"original_unit": {
"type": "string"
},
"original_value": {
"type": "number"
}
},
"x-stainless-model": "wallets.spark_lightning_fee"
}Fields§
§original_unit: String§original_value: f64Trait Implementations§
Source§impl Clone for SparkLightningFee
impl Clone for SparkLightningFee
Source§fn clone(&self) -> SparkLightningFee
fn clone(&self) -> SparkLightningFee
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 SparkLightningFee
impl Debug for SparkLightningFee
Source§impl<'de> Deserialize<'de> for SparkLightningFee
impl<'de> Deserialize<'de> for SparkLightningFee
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<&SparkLightningFee> for SparkLightningFee
impl From<&SparkLightningFee> for SparkLightningFee
Source§fn from(value: &SparkLightningFee) -> Self
fn from(value: &SparkLightningFee) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparkLightningFee
impl RefUnwindSafe for SparkLightningFee
impl Send for SparkLightningFee
impl Sync for SparkLightningFee
impl Unpin for SparkLightningFee
impl UnsafeUnpin for SparkLightningFee
impl UnwindSafe for SparkLightningFee
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