#[non_exhaustive]pub enum VerificationStatus {
Unspecified,
Unverified,
Verified,
UnknownValue(UnknownValue),
}Expand description
Indicates whether the channel has been verified or not. It is illegal
to specify this field in a
CreateNotificationChannel
or an
UpdateNotificationChannel
operation.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unspecified
Sentinel value used to indicate that the state is unknown, omitted, or is not applicable (as in the case of channels that neither support nor require verification in order to function).
Unverified
The channel has yet to be verified and requires verification to function. Note that this state also applies to the case where the verification process has been initiated by sending a verification code but where the verification code has not been submitted to complete the process.
Verified
It has been proven that notifications can be received on this notification channel and that someone on the project has access to messages that are delivered to that channel.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using VerificationStatus::value or VerificationStatus::name.
Implementations§
Trait Implementations§
Source§impl Clone for VerificationStatus
impl Clone for VerificationStatus
Source§fn clone(&self) -> VerificationStatus
fn clone(&self) -> VerificationStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for VerificationStatus
impl Debug for VerificationStatus
Source§impl Default for VerificationStatus
impl Default for VerificationStatus
Source§impl<'de> Deserialize<'de> for VerificationStatus
impl<'de> Deserialize<'de> for VerificationStatus
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl Display for VerificationStatus
impl Display for VerificationStatus
Source§impl From<&str> for VerificationStatus
impl From<&str> for VerificationStatus
Source§impl From<i32> for VerificationStatus
impl From<i32> for VerificationStatus
Source§impl PartialEq for VerificationStatus
impl PartialEq for VerificationStatus
Source§impl Serialize for VerificationStatus
impl Serialize for VerificationStatus
impl StructuralPartialEq for VerificationStatus
Auto Trait Implementations§
impl Freeze for VerificationStatus
impl RefUnwindSafe for VerificationStatus
impl Send for VerificationStatus
impl Sync for VerificationStatus
impl Unpin for VerificationStatus
impl UnwindSafe for VerificationStatus
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<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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.