pub struct CompanyConfig {
pub code: String,
pub name: String,
pub currency: String,
pub country: String,
pub fiscal_year_variant: String,
pub annual_transaction_volume: TransactionVolume,
pub volume_weight: f64,
}Expand description
Company code configuration.
Fields§
§code: StringCompany code identifier
name: StringCompany name
currency: StringLocal currency (ISO 4217)
country: StringCountry code (ISO 3166-1 alpha-2)
fiscal_year_variant: StringFiscal year variant
annual_transaction_volume: TransactionVolumeTransaction volume per year
volume_weight: f64Company-specific transaction weight
Trait Implementations§
Source§impl Clone for CompanyConfig
impl Clone for CompanyConfig
Source§fn clone(&self) -> CompanyConfig
fn clone(&self) -> CompanyConfig
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 CompanyConfig
impl Debug for CompanyConfig
Source§impl<'de> Deserialize<'de> for CompanyConfig
impl<'de> Deserialize<'de> for CompanyConfig
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 CompanyConfig
impl RefUnwindSafe for CompanyConfig
impl Send for CompanyConfig
impl Sync for CompanyConfig
impl Unpin for CompanyConfig
impl UnwindSafe for CompanyConfig
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