pub struct PayrollDeduction {
pub code: String,
pub name: String,
pub name_en: String,
pub deduction_type: String,
pub type_field: String,
pub rate: f64,
pub optional: bool,
}Fields§
§code: String§name: String§name_en: String§deduction_type: String“percentage” | “progressive” | “fixed”
type_field: String§rate: f64§optional: boolTrait Implementations§
Source§impl Clone for PayrollDeduction
impl Clone for PayrollDeduction
Source§fn clone(&self) -> PayrollDeduction
fn clone(&self) -> PayrollDeduction
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 Debug for PayrollDeduction
impl Debug for PayrollDeduction
Source§impl Default for PayrollDeduction
impl Default for PayrollDeduction
Source§fn default() -> PayrollDeduction
fn default() -> PayrollDeduction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PayrollDeduction
impl<'de> Deserialize<'de> for PayrollDeduction
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
Auto Trait Implementations§
impl Freeze for PayrollDeduction
impl RefUnwindSafe for PayrollDeduction
impl Send for PayrollDeduction
impl Sync for PayrollDeduction
impl Unpin for PayrollDeduction
impl UnsafeUnpin for PayrollDeduction
impl UnwindSafe for PayrollDeduction
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