pub struct TaxSettingsOutput {Show 14 fields
pub id: String,
pub enabled: bool,
pub calculation_method: String,
pub compound_method: String,
pub tax_shipping: bool,
pub tax_handling: bool,
pub tax_gift_wrap: bool,
pub default_product_category: String,
pub rounding_mode: String,
pub decimal_places: i32,
pub validate_addresses: bool,
pub tax_provider: Option<String>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§enabled: bool§calculation_method: String§compound_method: String§tax_shipping: bool§tax_handling: bool§tax_gift_wrap: bool§default_product_category: String§rounding_mode: String§decimal_places: i32§validate_addresses: bool§tax_provider: Option<String>§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for TaxSettingsOutput
impl Clone for TaxSettingsOutput
Source§fn clone(&self) -> TaxSettingsOutput
fn clone(&self) -> TaxSettingsOutput
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 TaxSettingsOutput
impl<'de> Deserialize<'de> for TaxSettingsOutput
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<TaxSettings> for TaxSettingsOutput
impl From<TaxSettings> for TaxSettingsOutput
Source§fn from(s: TaxSettings) -> Self
fn from(s: TaxSettings) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for TaxSettingsOutput
impl FromNapiValue for TaxSettingsOutput
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 TaxSettingsOutput
impl Serialize for TaxSettingsOutput
Source§impl ToNapiValue for TaxSettingsOutput
impl ToNapiValue for TaxSettingsOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: TaxSettingsOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: TaxSettingsOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for TaxSettingsOutput
impl TypeName for TaxSettingsOutput
Source§impl ValidateNapiValue for TaxSettingsOutput
impl ValidateNapiValue for TaxSettingsOutput
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 TaxSettingsOutput
impl RefUnwindSafe for TaxSettingsOutput
impl Send for TaxSettingsOutput
impl Sync for TaxSettingsOutput
impl Unpin for TaxSettingsOutput
impl UnsafeUnpin for TaxSettingsOutput
impl UnwindSafe for TaxSettingsOutput
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