klirr-core 0.2.1

Zero-maintenance and smart FOSS generating beautiful invoices for services and expenses.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::prelude::*;

/// Street address information
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq, Hash, Builder, Getters)]
pub struct StreetAddress {
    /// The street address line 1, of the company, e.g. `"10 West Smithfield"`.
    #[getset(get = "pub")]
    line_1: String,

    /// The street address line 2, of the company, e.g. `"C/o Other company"`.
    #[builder(default = "".to_owned())]
    #[getset(get = "pub")]
    line_2: String,
}