pub struct TaxZoneView {
pub id: String,
pub label: Option<String>,
pub rects: Vec<ZoneRectView>,
pub z_order: i32,
pub rate_bps: u32,
pub flat_copper: u64,
pub market_sales_tax_bps: u32,
pub market_sales_flat_copper: u32,
}Expand description
Tax overlay for claim premium preview.
Fields§
§id: String§label: Option<String>§rects: Vec<ZoneRectView>§z_order: i32§rate_bps: u32§flat_copper: u64§market_sales_tax_bps: u32Market-hall sales tax in basis points of sale total.
market_sales_flat_copper: u32Optional flat copper per market-hall purchase.
Trait Implementations§
Source§impl Clone for TaxZoneView
impl Clone for TaxZoneView
Source§fn clone(&self) -> TaxZoneView
fn clone(&self) -> TaxZoneView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TaxZoneView
impl Debug for TaxZoneView
Source§impl<'de> Deserialize<'de> for TaxZoneView
impl<'de> Deserialize<'de> for TaxZoneView
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
Source§impl PartialEq for TaxZoneView
impl PartialEq for TaxZoneView
Source§impl Serialize for TaxZoneView
impl Serialize for TaxZoneView
impl StructuralPartialEq for TaxZoneView
Auto Trait Implementations§
impl Freeze for TaxZoneView
impl RefUnwindSafe for TaxZoneView
impl Send for TaxZoneView
impl Sync for TaxZoneView
impl Unpin for TaxZoneView
impl UnsafeUnpin for TaxZoneView
impl UnwindSafe for TaxZoneView
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