pub struct ExemptionDetailsOutput {
pub exemption_id: String,
pub exemption_type: String,
pub certificate_number: Option<String>,
pub amount_exempt: f64,
pub tax_saved: f64,
}Fields§
§exemption_id: String§exemption_type: String§certificate_number: Option<String>§amount_exempt: f64§tax_saved: f64Trait Implementations§
Source§impl Clone for ExemptionDetailsOutput
impl Clone for ExemptionDetailsOutput
Source§fn clone(&self) -> ExemptionDetailsOutput
fn clone(&self) -> ExemptionDetailsOutput
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 ExemptionDetailsOutput
impl<'de> Deserialize<'de> for ExemptionDetailsOutput
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<ExemptionDetails> for ExemptionDetailsOutput
impl From<ExemptionDetails> for ExemptionDetailsOutput
Source§fn from(e: ExemptionDetails) -> Self
fn from(e: ExemptionDetails) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for ExemptionDetailsOutput
impl FromNapiValue for ExemptionDetailsOutput
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 ExemptionDetailsOutput
impl Serialize for ExemptionDetailsOutput
Source§impl ToNapiValue for ExemptionDetailsOutput
impl ToNapiValue for ExemptionDetailsOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: ExemptionDetailsOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: ExemptionDetailsOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for ExemptionDetailsOutput
impl TypeName for ExemptionDetailsOutput
Source§impl ValidateNapiValue for ExemptionDetailsOutput
impl ValidateNapiValue for ExemptionDetailsOutput
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 ExemptionDetailsOutput
impl RefUnwindSafe for ExemptionDetailsOutput
impl Send for ExemptionDetailsOutput
impl Sync for ExemptionDetailsOutput
impl Unpin for ExemptionDetailsOutput
impl UnsafeUnpin for ExemptionDetailsOutput
impl UnwindSafe for ExemptionDetailsOutput
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