pub struct TaxDetailOutput {
pub tax_type: String,
pub jurisdiction_name: String,
pub rate: f64,
pub amount: f64,
}Fields§
§tax_type: String§jurisdiction_name: String§rate: f64§amount: f64Trait Implementations§
Source§impl Clone for TaxDetailOutput
impl Clone for TaxDetailOutput
Source§fn clone(&self) -> TaxDetailOutput
fn clone(&self) -> TaxDetailOutput
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 TaxDetailOutput
impl<'de> Deserialize<'de> for TaxDetailOutput
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<TaxDetail> for TaxDetailOutput
impl From<TaxDetail> for TaxDetailOutput
Source§impl FromNapiValue for TaxDetailOutput
impl FromNapiValue for TaxDetailOutput
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 TaxDetailOutput
impl Serialize for TaxDetailOutput
Source§impl ToNapiValue for TaxDetailOutput
impl ToNapiValue for TaxDetailOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: TaxDetailOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: TaxDetailOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for TaxDetailOutput
impl TypeName for TaxDetailOutput
Source§impl ValidateNapiValue for TaxDetailOutput
impl ValidateNapiValue for TaxDetailOutput
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 TaxDetailOutput
impl RefUnwindSafe for TaxDetailOutput
impl Send for TaxDetailOutput
impl Sync for TaxDetailOutput
impl Unpin for TaxDetailOutput
impl UnsafeUnpin for TaxDetailOutput
impl UnwindSafe for TaxDetailOutput
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