pub struct TaxBreakdownOutput {
pub jurisdiction_id: String,
pub jurisdiction_name: String,
pub tax_type: String,
pub rate_name: String,
pub rate: f64,
pub taxable_amount: f64,
pub tax_amount: f64,
pub is_compound: bool,
}Fields§
§jurisdiction_id: String§jurisdiction_name: String§tax_type: String§rate_name: String§rate: f64§taxable_amount: f64§tax_amount: f64§is_compound: boolTrait Implementations§
Source§impl Clone for TaxBreakdownOutput
impl Clone for TaxBreakdownOutput
Source§fn clone(&self) -> TaxBreakdownOutput
fn clone(&self) -> TaxBreakdownOutput
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 TaxBreakdownOutput
impl<'de> Deserialize<'de> for TaxBreakdownOutput
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<TaxBreakdown> for TaxBreakdownOutput
impl From<TaxBreakdown> for TaxBreakdownOutput
Source§fn from(b: TaxBreakdown) -> Self
fn from(b: TaxBreakdown) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for TaxBreakdownOutput
impl FromNapiValue for TaxBreakdownOutput
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 TaxBreakdownOutput
impl Serialize for TaxBreakdownOutput
Source§impl ToNapiValue for TaxBreakdownOutput
impl ToNapiValue for TaxBreakdownOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: TaxBreakdownOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: TaxBreakdownOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for TaxBreakdownOutput
impl TypeName for TaxBreakdownOutput
Source§impl ValidateNapiValue for TaxBreakdownOutput
impl ValidateNapiValue for TaxBreakdownOutput
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 TaxBreakdownOutput
impl RefUnwindSafe for TaxBreakdownOutput
impl Send for TaxBreakdownOutput
impl Sync for TaxBreakdownOutput
impl Unpin for TaxBreakdownOutput
impl UnsafeUnpin for TaxBreakdownOutput
impl UnwindSafe for TaxBreakdownOutput
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