Enum google_api_proto::google::cloud::compute::v1::instance_group_manager_instance_lifecycle_policy::ForceUpdateOnRepair
source · #[repr(i32)]pub enum ForceUpdateOnRepair {
UndefinedForceUpdateOnRepair = 0,
No = 2_497,
Yes = 87_751,
}
Expand description
A bit indicating whether to forcefully apply the group’s latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group’s update policy. - YES: If configuration updates are available, they are applied during repair.
Variants§
UndefinedForceUpdateOnRepair = 0
A value indicating that the enum field is not set.
No = 2_497
Yes = 87_751
Implementations§
source§impl ForceUpdateOnRepair
impl ForceUpdateOnRepair
sourcepub fn from_i32(value: i32) -> Option<ForceUpdateOnRepair>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<ForceUpdateOnRepair>
Converts an i32
to a ForceUpdateOnRepair
, or None
if value
is not a valid variant.
source§impl ForceUpdateOnRepair
impl ForceUpdateOnRepair
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 ForceUpdateOnRepair
impl Clone for ForceUpdateOnRepair
source§fn clone(&self) -> ForceUpdateOnRepair
fn clone(&self) -> ForceUpdateOnRepair
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ForceUpdateOnRepair
impl Debug for ForceUpdateOnRepair
source§impl Default for ForceUpdateOnRepair
impl Default for ForceUpdateOnRepair
source§fn default() -> ForceUpdateOnRepair
fn default() -> ForceUpdateOnRepair
source§impl From<ForceUpdateOnRepair> for i32
impl From<ForceUpdateOnRepair> for i32
source§fn from(value: ForceUpdateOnRepair) -> i32
fn from(value: ForceUpdateOnRepair) -> i32
source§impl Hash for ForceUpdateOnRepair
impl Hash for ForceUpdateOnRepair
source§impl Ord for ForceUpdateOnRepair
impl Ord for ForceUpdateOnRepair
source§fn cmp(&self, other: &ForceUpdateOnRepair) -> Ordering
fn cmp(&self, other: &ForceUpdateOnRepair) -> 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 ForceUpdateOnRepair
impl PartialEq for ForceUpdateOnRepair
source§fn eq(&self, other: &ForceUpdateOnRepair) -> bool
fn eq(&self, other: &ForceUpdateOnRepair) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ForceUpdateOnRepair
impl PartialOrd for ForceUpdateOnRepair
source§fn partial_cmp(&self, other: &ForceUpdateOnRepair) -> Option<Ordering>
fn partial_cmp(&self, other: &ForceUpdateOnRepair) -> 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 ForceUpdateOnRepair
impl TryFrom<i32> for ForceUpdateOnRepair
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ForceUpdateOnRepair, DecodeError>
fn try_from(value: i32) -> Result<ForceUpdateOnRepair, DecodeError>
impl Copy for ForceUpdateOnRepair
impl Eq for ForceUpdateOnRepair
impl StructuralPartialEq for ForceUpdateOnRepair
Auto Trait Implementations§
impl Freeze for ForceUpdateOnRepair
impl RefUnwindSafe for ForceUpdateOnRepair
impl Send for ForceUpdateOnRepair
impl Sync for ForceUpdateOnRepair
impl Unpin for ForceUpdateOnRepair
impl UnwindSafe for ForceUpdateOnRepair
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