btcpay_client/models/
on_chain_payment_method_base_data.rs

1/*
2 * BTCPay Greenfield API
3 *
4 * A full API to use your BTCPay Server
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct OnChainPaymentMethodBaseData {
16    /// The derivation scheme
17    #[serde(rename = "derivationScheme", skip_serializing_if = "Option::is_none")]
18    pub derivation_scheme: Option<String>,
19    /// A label that will be shown in the UI
20    #[serde(rename = "label", skip_serializing_if = "Option::is_none")]
21    pub label: Option<String>,
22    /// The wallet fingerprint followed by the keypath to derive the account key used for signing operation or creating PSBTs
23    #[serde(rename = "accountKeyPath", skip_serializing_if = "Option::is_none")]
24    pub account_key_path: Option<String>,
25}
26
27impl OnChainPaymentMethodBaseData {
28    pub fn new() -> OnChainPaymentMethodBaseData {
29        OnChainPaymentMethodBaseData {
30            derivation_scheme: None,
31            label: None,
32            account_key_path: None,
33        }
34    }
35}
36
37