Enum google_api_proto::google::cloud::talent::v4::CompanySize
source · #[repr(i32)]pub enum CompanySize {
Unspecified = 0,
Mini = 1,
Small = 2,
Smedium = 3,
Medium = 4,
Big = 5,
Bigger = 6,
Giant = 7,
}
Expand description
An enum that represents the size of the company.
Variants§
Unspecified = 0
Default value if the size isn’t specified.
Mini = 1
The company has less than 50 employees.
Small = 2
The company has between 50 and 99 employees.
Smedium = 3
The company has between 100 and 499 employees.
Medium = 4
The company has between 500 and 999 employees.
Big = 5
The company has between 1,000 and 4,999 employees.
Bigger = 6
The company has between 5,000 and 9,999 employees.
Giant = 7
The company has 10,000 or more employees.
Implementations§
source§impl CompanySize
impl CompanySize
source§impl CompanySize
impl CompanySize
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 Clone for CompanySize
impl Clone for CompanySize
source§fn clone(&self) -> CompanySize
fn clone(&self) -> CompanySize
Returns a copy 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 CompanySize
impl Debug for CompanySize
source§impl Default for CompanySize
impl Default for CompanySize
source§fn default() -> CompanySize
fn default() -> CompanySize
Returns the “default value” for a type. Read more
source§impl From<CompanySize> for i32
impl From<CompanySize> for i32
source§fn from(value: CompanySize) -> i32
fn from(value: CompanySize) -> i32
Converts to this type from the input type.
source§impl Hash for CompanySize
impl Hash for CompanySize
source§impl Ord for CompanySize
impl Ord for CompanySize
source§fn cmp(&self, other: &CompanySize) -> Ordering
fn cmp(&self, other: &CompanySize) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CompanySize
impl PartialEq for CompanySize
source§fn eq(&self, other: &CompanySize) -> bool
fn eq(&self, other: &CompanySize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CompanySize
impl PartialOrd for CompanySize
source§fn partial_cmp(&self, other: &CompanySize) -> Option<Ordering>
fn partial_cmp(&self, other: &CompanySize) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for CompanySize
impl TryFrom<i32> for CompanySize
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
source§fn try_from(value: i32) -> Result<CompanySize, UnknownEnumValue>
fn try_from(value: i32) -> Result<CompanySize, UnknownEnumValue>
Performs the conversion.
impl Copy for CompanySize
impl Eq for CompanySize
impl StructuralPartialEq for CompanySize
Auto Trait Implementations§
impl Freeze for CompanySize
impl RefUnwindSafe for CompanySize
impl Send for CompanySize
impl Sync for CompanySize
impl Unpin for CompanySize
impl UnwindSafe for CompanySize
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
§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
Compare self to
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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
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>
Wrap the input message
T
in a tonic::Request