pub enum JobLevel {
Staff,
Senior,
Lead,
Supervisor,
Manager,
Director,
VicePresident,
Executive,
}Expand description
Employee job level in the organization hierarchy.
Variants§
Staff
Individual contributor
Senior
Senior individual contributor
Lead
Lead/principal
Supervisor
First-line manager
Manager
Middle management
Director
Senior manager / director
VicePresident
VP level
Executive
C-level executive
Implementations§
Source§impl JobLevel
impl JobLevel
Sourcepub fn management_level(&self) -> u8
pub fn management_level(&self) -> u8
Get the management level (0 = IC, higher = more senior).
Sourcepub fn is_manager(&self) -> bool
pub fn is_manager(&self) -> bool
Check if this is a management position.
Sourcepub fn typical_direct_reports(&self) -> (u16, u16)
pub fn typical_direct_reports(&self) -> (u16, u16)
Get typical direct reports range.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobLevel
impl<'de> Deserialize<'de> for JobLevel
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 Ord for JobLevel
impl Ord for JobLevel
Source§impl PartialOrd for JobLevel
impl PartialOrd for JobLevel
impl Copy for JobLevel
impl Eq for JobLevel
impl StructuralPartialEq for JobLevel
Auto Trait Implementations§
impl Freeze for JobLevel
impl RefUnwindSafe for JobLevel
impl Send for JobLevel
impl Sync for JobLevel
impl Unpin for JobLevel
impl UnwindSafe for JobLevel
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.