#[repr(i32)]pub enum JobLevel {
Unspecified = 0,
EntryLevel = 1,
Experienced = 2,
Manager = 3,
Director = 4,
Executive = 5,
}
Expand description
An enum that represents the required experience level required for the job.
Variants§
Unspecified = 0
The default value if the level isn’t specified.
EntryLevel = 1
Entry-level individual contributors, typically with less than 2 years of experience in a similar role. Includes interns.
Experienced = 2
Experienced individual contributors, typically with 2+ years of experience in a similar role.
Manager = 3
Entry- to mid-level managers responsible for managing a team of people.
Director = 4
Senior-level managers responsible for managing teams of managers.
Executive = 5
Executive-level managers and above, including C-level positions.
Implementations§
source§impl JobLevel
impl JobLevel
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for JobLevel
impl Ord for JobLevel
source§impl PartialEq for JobLevel
impl PartialEq for JobLevel
source§impl PartialOrd for JobLevel
impl PartialOrd for JobLevel
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for JobLevel
impl TryFrom<i32> for JobLevel
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
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
§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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request