btcpay_client/models/
label_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 LabelData {
16    /// The type of label
17    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
18    pub _type: Option<String>,
19    /// Information about this label
20    #[serde(rename = "text", skip_serializing_if = "Option::is_none")]
21    pub text: Option<String>,
22}
23
24impl LabelData {
25    pub fn new() -> LabelData {
26        LabelData {
27            _type: None,
28            text: None,
29        }
30    }
31}
32
33