pub struct TaxTypeUpdate {
pub name: Option<Option<String>>,
pub sort_key: i64,
pub extra: Map<String, Value>,
}Expand description
Replacement values for this tax type.
Fields§
§name: Option<Option<String>>Unique name, trimmed before storage. Omitted, null or blank becomes null, including on update.
None leaves the field out, Some(None) sends null.
sort_key: i64Ascending display order. Required for creation and update; there is no API default.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for TaxTypeUpdate
impl Clone for TaxTypeUpdate
Source§impl Debug for TaxTypeUpdate
impl Debug for TaxTypeUpdate
Source§impl Default for TaxTypeUpdate
impl Default for TaxTypeUpdate
Source§impl<'de> Deserialize<'de> for TaxTypeUpdate
impl<'de> Deserialize<'de> for TaxTypeUpdate
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 PartialEq for TaxTypeUpdate
impl PartialEq for TaxTypeUpdate
Source§impl Serialize for TaxTypeUpdate
impl Serialize for TaxTypeUpdate
impl StructuralPartialEq for TaxTypeUpdate
Auto Trait Implementations§
impl Freeze for TaxTypeUpdate
impl RefUnwindSafe for TaxTypeUpdate
impl Send for TaxTypeUpdate
impl Sync for TaxTypeUpdate
impl Unpin for TaxTypeUpdate
impl UnsafeUnpin for TaxTypeUpdate
impl UnwindSafe for TaxTypeUpdate
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