Enum google_api_proto::google::iam::admin::v1::role::RoleLaunchStage
source · #[repr(i32)]pub enum RoleLaunchStage {
Alpha = 0,
Beta = 1,
Ga = 2,
Deprecated = 4,
Disabled = 5,
Eap = 6,
}
Expand description
A stage representing a role’s lifecycle phase.
Variants§
Alpha = 0
The user has indicated this role is currently in an Alpha phase. If this
launch stage is selected, the stage
field will not be included when
requesting the definition for a given role.
Beta = 1
The user has indicated this role is currently in a Beta phase.
Ga = 2
The user has indicated this role is generally available.
Deprecated = 4
The user has indicated this role is being deprecated.
Disabled = 5
This role is disabled and will not contribute permissions to any principals it is granted to in policies.
Eap = 6
The user has indicated this role is currently in an EAP phase.
Implementations§
source§impl RoleLaunchStage
impl RoleLaunchStage
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 RoleLaunchStage
impl Clone for RoleLaunchStage
source§fn clone(&self) -> RoleLaunchStage
fn clone(&self) -> RoleLaunchStage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RoleLaunchStage
impl Debug for RoleLaunchStage
source§impl Default for RoleLaunchStage
impl Default for RoleLaunchStage
source§fn default() -> RoleLaunchStage
fn default() -> RoleLaunchStage
source§impl From<RoleLaunchStage> for i32
impl From<RoleLaunchStage> for i32
source§fn from(value: RoleLaunchStage) -> i32
fn from(value: RoleLaunchStage) -> i32
source§impl Hash for RoleLaunchStage
impl Hash for RoleLaunchStage
source§impl Ord for RoleLaunchStage
impl Ord for RoleLaunchStage
source§fn cmp(&self, other: &RoleLaunchStage) -> Ordering
fn cmp(&self, other: &RoleLaunchStage) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for RoleLaunchStage
impl PartialEq for RoleLaunchStage
source§fn eq(&self, other: &RoleLaunchStage) -> bool
fn eq(&self, other: &RoleLaunchStage) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RoleLaunchStage
impl PartialOrd for RoleLaunchStage
source§fn partial_cmp(&self, other: &RoleLaunchStage) -> Option<Ordering>
fn partial_cmp(&self, other: &RoleLaunchStage) -> Option<Ordering>
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 RoleLaunchStage
impl TryFrom<i32> for RoleLaunchStage
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<RoleLaunchStage, DecodeError>
fn try_from(value: i32) -> Result<RoleLaunchStage, DecodeError>
impl Copy for RoleLaunchStage
impl Eq for RoleLaunchStage
impl StructuralPartialEq for RoleLaunchStage
Auto Trait Implementations§
impl Freeze for RoleLaunchStage
impl RefUnwindSafe for RoleLaunchStage
impl Send for RoleLaunchStage
impl Sync for RoleLaunchStage
impl Unpin for RoleLaunchStage
impl UnwindSafe for RoleLaunchStage
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