pub struct TaxRateOutput {Show 17 fields
pub id: String,
pub jurisdiction_id: String,
pub tax_type: String,
pub product_category: String,
pub rate: f64,
pub name: String,
pub description: Option<String>,
pub is_compound: bool,
pub priority: i32,
pub threshold_min: Option<f64>,
pub threshold_max: Option<f64>,
pub fixed_amount: Option<f64>,
pub effective_from: String,
pub effective_to: Option<String>,
pub active: bool,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§jurisdiction_id: String§tax_type: String§product_category: String§rate: f64§name: String§description: Option<String>§is_compound: bool§priority: i32§threshold_min: Option<f64>§threshold_max: Option<f64>§fixed_amount: Option<f64>§effective_from: String§effective_to: Option<String>§active: bool§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for TaxRateOutput
impl Clone for TaxRateOutput
Source§fn clone(&self) -> TaxRateOutput
fn clone(&self) -> TaxRateOutput
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<'de> Deserialize<'de> for TaxRateOutput
impl<'de> Deserialize<'de> for TaxRateOutput
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 From<TaxRate> for TaxRateOutput
impl From<TaxRate> for TaxRateOutput
Source§impl FromNapiValue for TaxRateOutput
impl FromNapiValue for TaxRateOutput
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl Serialize for TaxRateOutput
impl Serialize for TaxRateOutput
Source§impl ToNapiValue for TaxRateOutput
impl ToNapiValue for TaxRateOutput
Source§unsafe fn to_napi_value(env: napi_env, val: TaxRateOutput) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: TaxRateOutput) -> Result<napi_value>
Safety Read more
Source§impl TypeName for TaxRateOutput
impl TypeName for TaxRateOutput
Source§impl ValidateNapiValue for TaxRateOutput
impl ValidateNapiValue for TaxRateOutput
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for TaxRateOutput
impl RefUnwindSafe for TaxRateOutput
impl Send for TaxRateOutput
impl Sync for TaxRateOutput
impl Unpin for TaxRateOutput
impl UnsafeUnpin for TaxRateOutput
impl UnwindSafe for TaxRateOutput
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