#[repr(i32)]pub enum RolloutUpdateType {
Show 14 variants
Unspecified = 0,
Pending = 1,
PendingRelease = 2,
InProgress = 3,
Cancelling = 4,
Cancelled = 5,
Halted = 6,
Succeeded = 7,
Failed = 8,
ApprovalRequired = 9,
Approved = 10,
Rejected = 11,
AdvanceRequired = 12,
Advanced = 13,
}
Expand description
RolloutUpdateType indicates the type of the rollout update.
Variants§
Unspecified = 0
Rollout update type unspecified.
Pending = 1
rollout state updated to pending.
PendingRelease = 2
Rollout state updated to pending release.
InProgress = 3
Rollout state updated to in progress.
Cancelling = 4
Rollout state updated to cancelling.
Cancelled = 5
Rollout state updated to cancelled.
Halted = 6
Rollout state updated to halted.
Succeeded = 7
Rollout state updated to succeeded.
Failed = 8
Rollout state updated to failed.
ApprovalRequired = 9
Rollout requires approval.
Approved = 10
Rollout has been approved.
Rejected = 11
Rollout has been rejected.
AdvanceRequired = 12
Rollout requires advance to the next phase.
Advanced = 13
Rollout has been advanced.
Implementations§
source§impl RolloutUpdateType
impl RolloutUpdateType
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 RolloutUpdateType
impl Clone for RolloutUpdateType
source§fn clone(&self) -> RolloutUpdateType
fn clone(&self) -> RolloutUpdateType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RolloutUpdateType
impl Debug for RolloutUpdateType
source§impl Default for RolloutUpdateType
impl Default for RolloutUpdateType
source§fn default() -> RolloutUpdateType
fn default() -> RolloutUpdateType
source§impl From<RolloutUpdateType> for i32
impl From<RolloutUpdateType> for i32
source§fn from(value: RolloutUpdateType) -> i32
fn from(value: RolloutUpdateType) -> i32
source§impl Hash for RolloutUpdateType
impl Hash for RolloutUpdateType
source§impl Ord for RolloutUpdateType
impl Ord for RolloutUpdateType
source§fn cmp(&self, other: &RolloutUpdateType) -> Ordering
fn cmp(&self, other: &RolloutUpdateType) -> 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 RolloutUpdateType
impl PartialEq for RolloutUpdateType
source§fn eq(&self, other: &RolloutUpdateType) -> bool
fn eq(&self, other: &RolloutUpdateType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RolloutUpdateType
impl PartialOrd for RolloutUpdateType
source§fn partial_cmp(&self, other: &RolloutUpdateType) -> Option<Ordering>
fn partial_cmp(&self, other: &RolloutUpdateType) -> 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 RolloutUpdateType
impl TryFrom<i32> for RolloutUpdateType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<RolloutUpdateType, DecodeError>
fn try_from(value: i32) -> Result<RolloutUpdateType, DecodeError>
impl Copy for RolloutUpdateType
impl Eq for RolloutUpdateType
impl StructuralPartialEq for RolloutUpdateType
Auto Trait Implementations§
impl Freeze for RolloutUpdateType
impl RefUnwindSafe for RolloutUpdateType
impl Send for RolloutUpdateType
impl Sync for RolloutUpdateType
impl Unpin for RolloutUpdateType
impl UnwindSafe for RolloutUpdateType
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