btcpay-client 0.1.0

A client library for BTCPay Server.
Documentation
/*
 * BTCPay Greenfield API
 *
 * A full API to use your BTCPay Server
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct OnChainWalletAddressData {
    /// The bitcoin address
    #[serde(rename = "address", skip_serializing_if = "Option::is_none")]
    pub address: Option<String>,
    /// the derivation path in relation to the HD account
    #[serde(rename = "keyPath", skip_serializing_if = "Option::is_none")]
    pub key_path: Option<String>,
    /// a bip21 payment link
    #[serde(rename = "paymentLink", skip_serializing_if = "Option::is_none")]
    pub payment_link: Option<String>,
}

impl OnChainWalletAddressData {
    pub fn new() -> OnChainWalletAddressData {
        OnChainWalletAddressData {
            address: None,
            key_path: None,
            payment_link: None,
        }
    }
}