pub struct SparkWalletLeaf {
pub id: String,
pub network: SparkNetwork,
pub node_tx: String,
pub owner_identity_public_key: String,
pub parent_node_id: Option<String>,
pub refund_tx: String,
pub signing_keyshare: Option<SparkSigningKeyshare>,
pub status: String,
pub tree_id: String,
pub value: f64,
pub verifying_public_key: String,
pub vout: f64,
}Expand description
A Spark wallet leaf node.
JSON schema
{
"title": "SparkWalletLeaf",
"description": "A Spark wallet leaf node.",
"type": "object",
"required": [
"id",
"network",
"node_tx",
"owner_identity_public_key",
"refund_tx",
"status",
"tree_id",
"value",
"verifying_public_key",
"vout"
],
"properties": {
"id": {
"type": "string"
},
"network": {
"$ref": "#/components/schemas/SparkNetwork"
},
"node_tx": {
"type": "string"
},
"owner_identity_public_key": {
"type": "string"
},
"parent_node_id": {
"type": "string"
},
"refund_tx": {
"type": "string"
},
"signing_keyshare": {
"$ref": "#/components/schemas/SparkSigningKeyshare"
},
"status": {
"type": "string"
},
"tree_id": {
"type": "string"
},
"value": {
"type": "number"
},
"verifying_public_key": {
"type": "string"
},
"vout": {
"type": "number"
}
},
"x-stainless-model": "wallets.spark_wallet_leaf"
}Fields§
§id: String§network: SparkNetwork§node_tx: String§owner_identity_public_key: String§parent_node_id: Option<String>§refund_tx: String§status: String§tree_id: String§value: f64§verifying_public_key: String§vout: f64Trait Implementations§
Source§impl Clone for SparkWalletLeaf
impl Clone for SparkWalletLeaf
Source§fn clone(&self) -> SparkWalletLeaf
fn clone(&self) -> SparkWalletLeaf
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 SparkWalletLeaf
impl Debug for SparkWalletLeaf
Source§impl<'de> Deserialize<'de> for SparkWalletLeaf
impl<'de> Deserialize<'de> for SparkWalletLeaf
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<&SparkWalletLeaf> for SparkWalletLeaf
impl From<&SparkWalletLeaf> for SparkWalletLeaf
Source§fn from(value: &SparkWalletLeaf) -> Self
fn from(value: &SparkWalletLeaf) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SparkWalletLeaf
impl RefUnwindSafe for SparkWalletLeaf
impl Send for SparkWalletLeaf
impl Sync for SparkWalletLeaf
impl Unpin for SparkWalletLeaf
impl UnsafeUnpin for SparkWalletLeaf
impl UnwindSafe for SparkWalletLeaf
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