#[repr(i32)]pub enum ResourceState {
Unspecified = 0,
Activating = 1,
ActivationFailed = 2,
Active = 3,
Updating = 4,
UpdateFailed = 5,
Deleting = 6,
DeleteFailed = 7,
Deleted = 8,
Suspended = 9,
Expired = 10,
}Variants§
Unspecified = 0
Activating = 1
The resource is being activated.
ActivationFailed = 2
The resource failed to activate. This is an error state. Reach out to support for remediation.
Active = 3
The resource is active and ready to use.
Updating = 4
The resource is being updated.
UpdateFailed = 5
The resource failed to update. This is an error state. Reach out to support for remediation.
Deleting = 6
The resource is being deleted.
DeleteFailed = 7
The resource failed to delete. This is an error state. Reach out to support for remediation.
Deleted = 8
The resource has been deleted.
Suspended = 9
The resource is suspended and not available for use. Reach out to support for remediation.
Expired = 10
The resource has expired and is no longer available for use.
Implementations§
Source§impl ResourceState
impl ResourceState
Source§impl ResourceState
impl ResourceState
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 ResourceState
impl Clone for ResourceState
Source§fn clone(&self) -> ResourceState
fn clone(&self) -> ResourceState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ResourceState
impl Debug for ResourceState
Source§impl Default for ResourceState
impl Default for ResourceState
Source§fn default() -> ResourceState
fn default() -> ResourceState
Source§impl From<ResourceState> for i32
impl From<ResourceState> for i32
Source§fn from(value: ResourceState) -> i32
fn from(value: ResourceState) -> i32
Source§impl Hash for ResourceState
impl Hash for ResourceState
Source§impl Ord for ResourceState
impl Ord for ResourceState
Source§fn cmp(&self, other: &ResourceState) -> Ordering
fn cmp(&self, other: &ResourceState) -> 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 ResourceState
impl PartialEq for ResourceState
Source§impl PartialOrd for ResourceState
impl PartialOrd for ResourceState
Source§impl TryFrom<i32> for ResourceState
impl TryFrom<i32> for ResourceState
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<ResourceState, UnknownEnumValue>
fn try_from(value: i32) -> Result<ResourceState, UnknownEnumValue>
impl Copy for ResourceState
impl Eq for ResourceState
impl StructuralPartialEq for ResourceState
Auto Trait Implementations§
impl Freeze for ResourceState
impl RefUnwindSafe for ResourceState
impl Send for ResourceState
impl Sync for ResourceState
impl Unpin for ResourceState
impl UnsafeUnpin for ResourceState
impl UnwindSafe for ResourceState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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§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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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