Enum google_api_proto::google::cloud::integrations::v1alpha::integration_execution_details::IntegrationExecutionState
source · #[repr(i32)]pub enum IntegrationExecutionState {
Unspecified = 0,
OnHold = 1,
InProcess = 2,
Succeeded = 3,
Failed = 4,
Cancelled = 5,
RetryOnHold = 6,
Suspended = 7,
}
Expand description
Enum ExecutionState.
Variants§
Unspecified = 0
Default value.
OnHold = 1
Integration is received and waiting for the execution. This happens when firing the Integration via “postToQueue” or “schedule”.
InProcess = 2
Integration is under processing.
Succeeded = 3
Integration execution successfully finished. There’s no more change after this state.
Failed = 4
Integration execution failed. There’s no more change after this state.
Cancelled = 5
Integration execution canceled by user. There’s no more change after this state.
RetryOnHold = 6
Integration execution failed and waiting for retry.
Suspended = 7
Integration execution suspended and waiting for manual intervention.
Implementations§
source§impl IntegrationExecutionState
impl IntegrationExecutionState
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of IntegrationExecutionState
.
sourcepub fn from_i32(value: i32) -> Option<IntegrationExecutionState>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<IntegrationExecutionState>
Converts an i32
to a IntegrationExecutionState
, or None
if value
is not a valid variant.
source§impl IntegrationExecutionState
impl IntegrationExecutionState
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 IntegrationExecutionState
impl Clone for IntegrationExecutionState
source§fn clone(&self) -> IntegrationExecutionState
fn clone(&self) -> IntegrationExecutionState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IntegrationExecutionState
impl Debug for IntegrationExecutionState
source§impl Default for IntegrationExecutionState
impl Default for IntegrationExecutionState
source§fn default() -> IntegrationExecutionState
fn default() -> IntegrationExecutionState
source§impl From<IntegrationExecutionState> for i32
impl From<IntegrationExecutionState> for i32
source§fn from(value: IntegrationExecutionState) -> i32
fn from(value: IntegrationExecutionState) -> i32
source§impl Hash for IntegrationExecutionState
impl Hash for IntegrationExecutionState
source§impl Ord for IntegrationExecutionState
impl Ord for IntegrationExecutionState
source§fn cmp(&self, other: &IntegrationExecutionState) -> Ordering
fn cmp(&self, other: &IntegrationExecutionState) -> 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 IntegrationExecutionState
impl PartialEq for IntegrationExecutionState
source§fn eq(&self, other: &IntegrationExecutionState) -> bool
fn eq(&self, other: &IntegrationExecutionState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for IntegrationExecutionState
impl PartialOrd for IntegrationExecutionState
source§fn partial_cmp(&self, other: &IntegrationExecutionState) -> Option<Ordering>
fn partial_cmp(&self, other: &IntegrationExecutionState) -> 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 IntegrationExecutionState
impl TryFrom<i32> for IntegrationExecutionState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<IntegrationExecutionState, UnknownEnumValue>
fn try_from(value: i32) -> Result<IntegrationExecutionState, UnknownEnumValue>
impl Copy for IntegrationExecutionState
impl Eq for IntegrationExecutionState
impl StructuralPartialEq for IntegrationExecutionState
Auto Trait Implementations§
impl Freeze for IntegrationExecutionState
impl RefUnwindSafe for IntegrationExecutionState
impl Send for IntegrationExecutionState
impl Sync for IntegrationExecutionState
impl Unpin for IntegrationExecutionState
impl UnwindSafe for IntegrationExecutionState
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