#[non_exhaustive]pub struct VerifyNotificationChannelRequest {
pub name: String,
pub code: String,
/* private fields */
}Expand description
The VerifyNotificationChannel request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The notification channel to verify.
code: StringRequired. The verification code that was delivered to the channel as
a result of invoking the SendNotificationChannelVerificationCode API
method or that was retrieved from a verified channel via
GetNotificationChannelVerificationCode. For example, one might have
“G-123456” or “TKNZGhhd2EyN3I1MnRnMjRv” (in general, one is only
guaranteed that the code is valid UTF-8; one should not
make any assumptions regarding the structure or format of the code).
Implementations§
Trait Implementations§
Source§impl Clone for VerifyNotificationChannelRequest
impl Clone for VerifyNotificationChannelRequest
Source§fn clone(&self) -> VerifyNotificationChannelRequest
fn clone(&self) -> VerifyNotificationChannelRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for VerifyNotificationChannelRequest
impl Default for VerifyNotificationChannelRequest
Source§fn default() -> VerifyNotificationChannelRequest
fn default() -> VerifyNotificationChannelRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for VerifyNotificationChannelRequest
impl PartialEq for VerifyNotificationChannelRequest
Source§fn eq(&self, other: &VerifyNotificationChannelRequest) -> bool
fn eq(&self, other: &VerifyNotificationChannelRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VerifyNotificationChannelRequest
Auto Trait Implementations§
impl Freeze for VerifyNotificationChannelRequest
impl RefUnwindSafe for VerifyNotificationChannelRequest
impl Send for VerifyNotificationChannelRequest
impl Sync for VerifyNotificationChannelRequest
impl Unpin for VerifyNotificationChannelRequest
impl UnwindSafe for VerifyNotificationChannelRequest
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
Mutably borrows from an owned value. Read more