pub struct CreateExemptionInput {
pub customer_id: String,
pub exemption_type: String,
pub certificate_number: Option<String>,
pub issuing_authority: Option<String>,
pub jurisdiction_ids: Option<Vec<String>>,
pub exempt_categories: Option<Vec<String>>,
pub effective_from: String,
pub expires_at: Option<String>,
pub notes: Option<String>,
}Fields§
§customer_id: String§exemption_type: String§certificate_number: Option<String>§jurisdiction_ids: Option<Vec<String>>§exempt_categories: Option<Vec<String>>§effective_from: String§expires_at: Option<String>§notes: Option<String>Trait Implementations§
Source§impl Clone for CreateExemptionInput
impl Clone for CreateExemptionInput
Source§fn clone(&self) -> CreateExemptionInput
fn clone(&self) -> CreateExemptionInput
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 Default for CreateExemptionInput
impl Default for CreateExemptionInput
Source§fn default() -> CreateExemptionInput
fn default() -> CreateExemptionInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateExemptionInput
impl<'de> Deserialize<'de> for CreateExemptionInput
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 FromNapiValue for CreateExemptionInput
impl FromNapiValue for CreateExemptionInput
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 CreateExemptionInput
impl Serialize for CreateExemptionInput
Source§impl ToNapiValue for CreateExemptionInput
impl ToNapiValue for CreateExemptionInput
Source§unsafe fn to_napi_value(
env: napi_env,
val: CreateExemptionInput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: CreateExemptionInput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for CreateExemptionInput
impl TypeName for CreateExemptionInput
Source§impl ValidateNapiValue for CreateExemptionInput
impl ValidateNapiValue for CreateExemptionInput
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 CreateExemptionInput
impl RefUnwindSafe for CreateExemptionInput
impl Send for CreateExemptionInput
impl Sync for CreateExemptionInput
impl Unpin for CreateExemptionInput
impl UnsafeUnpin for CreateExemptionInput
impl UnwindSafe for CreateExemptionInput
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