pub struct Tax {
pub mandatory: Option<bool>,
pub poi_equivalent: Option<bool>,
pub tin_cleaner: Option<String>,
pub tin_format: Option<Vec<String>>,
pub tin_format_description: Option<Value>,
}
Expand description
Tax configuration
Fields§
§mandatory: Option<bool>
Mandatory TIN flag\n
poi_equivalent: Option<bool>
POI equivalent flag\n
tin_cleaner: Option<String>
Cleanup regex\n
tin_format: Option<Vec<String>>
Country tax identifier format\n
tin_format_description: Option<Value>
Description of the TIN format\n
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tax
impl<'de> Deserialize<'de> for Tax
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 Tax
impl RefUnwindSafe for Tax
impl Send for Tax
impl Sync for Tax
impl Unpin for Tax
impl UnwindSafe for Tax
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