Enum google_api_proto::google::cloud::sql::v1beta4::SqlBackupRunStatus
source · #[repr(i32)]pub enum SqlBackupRunStatus {
Unspecified = 0,
Enqueued = 1,
Overdue = 2,
Running = 3,
Failed = 4,
Successful = 5,
Skipped = 6,
DeletionPending = 7,
DeletionFailed = 8,
Deleted = 9,
}
Expand description
The status of a backup run.
Variants§
Unspecified = 0
The status of the run is unknown.
Enqueued = 1
The backup operation was enqueued.
Overdue = 2
The backup is overdue across a given backup window. Indicates a problem. Example: Long-running operation in progress during the whole window.
Running = 3
The backup is in progress.
Failed = 4
The backup failed.
Successful = 5
The backup was successful.
Skipped = 6
The backup was skipped (without problems) for a given backup window. Example: Instance was idle.
DeletionPending = 7
The backup is about to be deleted.
DeletionFailed = 8
The backup deletion failed.
Deleted = 9
The backup has been deleted.
Implementations§
source§impl SqlBackupRunStatus
impl SqlBackupRunStatus
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 SqlBackupRunStatus
impl Clone for SqlBackupRunStatus
source§fn clone(&self) -> SqlBackupRunStatus
fn clone(&self) -> SqlBackupRunStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SqlBackupRunStatus
impl Debug for SqlBackupRunStatus
source§impl Default for SqlBackupRunStatus
impl Default for SqlBackupRunStatus
source§fn default() -> SqlBackupRunStatus
fn default() -> SqlBackupRunStatus
source§impl From<SqlBackupRunStatus> for i32
impl From<SqlBackupRunStatus> for i32
source§fn from(value: SqlBackupRunStatus) -> i32
fn from(value: SqlBackupRunStatus) -> i32
source§impl Hash for SqlBackupRunStatus
impl Hash for SqlBackupRunStatus
source§impl Ord for SqlBackupRunStatus
impl Ord for SqlBackupRunStatus
source§fn cmp(&self, other: &SqlBackupRunStatus) -> Ordering
fn cmp(&self, other: &SqlBackupRunStatus) -> 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 SqlBackupRunStatus
impl PartialEq for SqlBackupRunStatus
source§fn eq(&self, other: &SqlBackupRunStatus) -> bool
fn eq(&self, other: &SqlBackupRunStatus) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SqlBackupRunStatus
impl PartialOrd for SqlBackupRunStatus
source§fn partial_cmp(&self, other: &SqlBackupRunStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &SqlBackupRunStatus) -> 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 SqlBackupRunStatus
impl TryFrom<i32> for SqlBackupRunStatus
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<SqlBackupRunStatus, UnknownEnumValue>
fn try_from(value: i32) -> Result<SqlBackupRunStatus, UnknownEnumValue>
impl Copy for SqlBackupRunStatus
impl Eq for SqlBackupRunStatus
impl StructuralPartialEq for SqlBackupRunStatus
Auto Trait Implementations§
impl Freeze for SqlBackupRunStatus
impl RefUnwindSafe for SqlBackupRunStatus
impl Send for SqlBackupRunStatus
impl Sync for SqlBackupRunStatus
impl Unpin for SqlBackupRunStatus
impl UnwindSafe for SqlBackupRunStatus
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