pub enum PayFrequency {
Weekly,
BiWeekly,
SemiMonthly,
Monthly,
}Expand description
Pay frequency for salary deposits.
Variants§
Weekly
Weekly pay
BiWeekly
Bi-weekly pay
SemiMonthly
Semi-monthly (twice per month)
Monthly
Monthly pay
Implementations§
Source§impl PayFrequency
impl PayFrequency
Sourcepub fn interval_days(&self) -> u32
pub fn interval_days(&self) -> u32
Days between payments.
Trait Implementations§
Source§impl Clone for PayFrequency
impl Clone for PayFrequency
Source§fn clone(&self) -> PayFrequency
fn clone(&self) -> PayFrequency
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 PayFrequency
impl Debug for PayFrequency
Source§impl Default for PayFrequency
impl Default for PayFrequency
Source§fn default() -> PayFrequency
fn default() -> PayFrequency
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PayFrequency
impl<'de> Deserialize<'de> for PayFrequency
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 Hash for PayFrequency
impl Hash for PayFrequency
Source§impl PartialEq for PayFrequency
impl PartialEq for PayFrequency
Source§impl Serialize for PayFrequency
impl Serialize for PayFrequency
impl Copy for PayFrequency
impl Eq for PayFrequency
impl StructuralPartialEq for PayFrequency
Auto Trait Implementations§
impl Freeze for PayFrequency
impl RefUnwindSafe for PayFrequency
impl Send for PayFrequency
impl Sync for PayFrequency
impl Unpin for PayFrequency
impl UnwindSafe for PayFrequency
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.