pub struct CountryPack {Show 19 fields
pub schema_version: String,
pub country_code: String,
pub country_name: String,
pub region: String,
pub locale: LocaleConfig,
pub names: NamesConfig,
pub holidays: HolidaysConfig,
pub tax: CountryTaxConfig,
pub address: AddressConfig,
pub phone: PhoneConfig,
pub banking: BankingCountryConfig,
pub business_rules: BusinessRulesConfig,
pub legal_entities: LegalEntitiesConfig,
pub accounting: AccountingCountryConfig,
pub payroll: PayrollCountryConfig,
pub vendor_templates: EntityTemplatesConfig,
pub customer_templates: EntityTemplatesConfig,
pub material_templates: MaterialTemplatesConfig,
pub document_texts: DocumentTextsConfig,
}Expand description
A complete country pack loaded from JSON.
Fields§
§schema_version: StringSchema version (e.g. “1.0”).
country_code: StringISO 3166-1 alpha-2 country code, or “_DEFAULT”.
country_name: StringHuman-readable country name.
region: StringRegion grouping: AMERICAS, EMEA, APAC.
locale: LocaleConfig§names: NamesConfig§holidays: HolidaysConfig§tax: CountryTaxConfig§address: AddressConfig§phone: PhoneConfig§banking: BankingCountryConfig§business_rules: BusinessRulesConfig§legal_entities: LegalEntitiesConfig§accounting: AccountingCountryConfig§payroll: PayrollCountryConfig§vendor_templates: EntityTemplatesConfig§customer_templates: EntityTemplatesConfig§material_templates: MaterialTemplatesConfig§document_texts: DocumentTextsConfigTrait Implementations§
Source§impl Clone for CountryPack
impl Clone for CountryPack
Source§fn clone(&self) -> CountryPack
fn clone(&self) -> CountryPack
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CountryPack
impl Debug for CountryPack
Source§impl Default for CountryPack
impl Default for CountryPack
Source§fn default() -> CountryPack
fn default() -> CountryPack
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CountryPack
impl<'de> Deserialize<'de> for CountryPack
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CountryPack
impl RefUnwindSafe for CountryPack
impl Send for CountryPack
impl Sync for CountryPack
impl Unpin for CountryPack
impl UnsafeUnpin for CountryPack
impl UnwindSafe for CountryPack
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more