v4v 0.5.22

Value-for-value helper utilities for Podcasting 2.0
Documentation
1
2
3
4
5
6
7
8
9
10
/// Keysend address.
#[derive(Debug, Default, serde::Serialize, serde::Deserialize, Clone)]
#[serde(rename_all = "camelCase")]
pub struct KeysendAddress {
    /// Node's public key.
    pub pubkey: String,
    /// Custom data (key -> value), usually used to identify a wallet hosted at a node.
    #[serde(default)]
    pub custom_data: Option<(String, String)>,
}