pub struct SalesTaxRate {
pub effective: NaiveDate,
pub rate: Decimal,
}Expand description
A sales tax rate with effective date.
Fields§
§effective: NaiveDate§rate: DecimalTrait Implementations§
Source§impl Clone for SalesTaxRate
impl Clone for SalesTaxRate
Source§fn clone(&self) -> SalesTaxRate
fn clone(&self) -> SalesTaxRate
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 SalesTaxRate
impl Debug for SalesTaxRate
Source§impl<'de> Deserialize<'de> for SalesTaxRate
impl<'de> Deserialize<'de> for SalesTaxRate
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 SalesTaxRate
impl RefUnwindSafe for SalesTaxRate
impl Send for SalesTaxRate
impl Sync for SalesTaxRate
impl Unpin for SalesTaxRate
impl UnsafeUnpin for SalesTaxRate
impl UnwindSafe for SalesTaxRate
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