pub struct SparkTransfer {
pub created_time: Option<String>,
pub expiry_time: Option<String>,
pub id: String,
pub leaves: Vec<SparkTransferLeaf>,
pub receiver_identity_public_key: String,
pub sender_identity_public_key: String,
pub status: String,
pub total_value: f64,
pub transfer_direction: String,
pub type_: String,
pub updated_time: Option<String>,
}Expand description
A Spark transfer.
JSON schema
{
"title": "SparkTransfer",
"description": "A Spark transfer.",
"type": "object",
"required": [
"id",
"leaves",
"receiver_identity_public_key",
"sender_identity_public_key",
"status",
"total_value",
"transfer_direction",
"type"
],
"properties": {
"created_time": {
"type": "string"
},
"expiry_time": {
"type": "string"
},
"id": {
"type": "string"
},
"leaves": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SparkTransferLeaf"
}
},
"receiver_identity_public_key": {
"type": "string"
},
"sender_identity_public_key": {
"type": "string"
},
"status": {
"type": "string"
},
"total_value": {
"type": "number"
},
"transfer_direction": {
"type": "string"
},
"type": {
"type": "string"
},
"updated_time": {
"type": "string"
}
},
"x-stainless-model": "wallets.spark_transfer"
}Fields§
§created_time: Option<String>§expiry_time: Option<String>§id: String§leaves: Vec<SparkTransferLeaf>§receiver_identity_public_key: String§sender_identity_public_key: String§status: String§total_value: f64§transfer_direction: String§type_: String§updated_time: Option<String>Trait Implementations§
Source§impl Clone for SparkTransfer
impl Clone for SparkTransfer
Source§fn clone(&self) -> SparkTransfer
fn clone(&self) -> SparkTransfer
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 SparkTransfer
impl Debug for SparkTransfer
Source§impl<'de> Deserialize<'de> for SparkTransfer
impl<'de> Deserialize<'de> for SparkTransfer
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<&SparkTransfer> for SparkTransfer
impl From<&SparkTransfer> for SparkTransfer
Source§fn from(value: &SparkTransfer) -> Self
fn from(value: &SparkTransfer) -> Self
Converts to this type from the input type.
Source§impl From<SparkTransfer> for SparkPayLightningInvoiceRpcResponseData
impl From<SparkTransfer> for SparkPayLightningInvoiceRpcResponseData
Source§fn from(value: SparkTransfer) -> Self
fn from(value: SparkTransfer) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparkTransfer
impl RefUnwindSafe for SparkTransfer
impl Send for SparkTransfer
impl Sync for SparkTransfer
impl Unpin for SparkTransfer
impl UnsafeUnpin for SparkTransfer
impl UnwindSafe for SparkTransfer
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