pub struct JobAssignment {
pub job_title: String,
pub pay_type: JobAssignmentPayType,
pub hourly_rate: Option<Money>,
pub annual_rate: Option<Money>,
pub weekly_hours: Option<i32>,
}Expand description
An object describing a job that a team member is assigned to.
Fields§
§job_title: StringThe title of the job.
Min Length: 1
pay_type: JobAssignmentPayTypeThe current pay type for the job assignment used to calculate the pay amount in a pay period.
hourly_rate: Option<Money>The hourly pay rate of the job.
annual_rate: Option<Money>The total pay amount for a 12-month period on the job. Set if the job PayType is SALARY.
weekly_hours: Option<i32>The planned hours per week for the job. Set if the job PayType is SALARY.
Trait Implementations§
Source§impl Clone for JobAssignment
impl Clone for JobAssignment
Source§fn clone(&self) -> JobAssignment
fn clone(&self) -> JobAssignment
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 JobAssignment
impl Debug for JobAssignment
Source§impl Default for JobAssignment
impl Default for JobAssignment
Source§fn default() -> JobAssignment
fn default() -> JobAssignment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobAssignment
impl<'de> Deserialize<'de> for JobAssignment
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 JobAssignment
impl PartialEq for JobAssignment
Source§impl Serialize for JobAssignment
impl Serialize for JobAssignment
impl Eq for JobAssignment
impl StructuralPartialEq for JobAssignment
Auto Trait Implementations§
impl Freeze for JobAssignment
impl RefUnwindSafe for JobAssignment
impl Send for JobAssignment
impl Sync for JobAssignment
impl Unpin for JobAssignment
impl UnwindSafe for JobAssignment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.