pub struct VatConfig {
pub standard_rate: f64,
pub reduced_rates: Vec<ReducedRate>,
pub zero_rated: Vec<String>,
pub exempt: Vec<String>,
pub registration_threshold: Option<f64>,
pub filing_frequency: String,
pub reverse_charge_applicable: bool,
}Fields§
§standard_rate: f64§reduced_rates: Vec<ReducedRate>§zero_rated: Vec<String>§exempt: Vec<String>§registration_threshold: Option<f64>§filing_frequency: String§reverse_charge_applicable: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for VatConfig
impl<'de> Deserialize<'de> for VatConfig
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 VatConfig
impl RefUnwindSafe for VatConfig
impl Send for VatConfig
impl Sync for VatConfig
impl Unpin for VatConfig
impl UnsafeUnpin for VatConfig
impl UnwindSafe for VatConfig
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