#[non_exhaustive]pub struct DeleteNotificationChannelRequest {
pub name: String,
pub force: bool,
/* private fields */
}Expand description
The DeleteNotificationChannel 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 channel for which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]force: boolIf true, the notification channel will be deleted regardless of its use in alert policies (the policies will be updated to remove the channel). If false, this operation will fail if the notification channel is referenced by existing alerting policies.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteNotificationChannelRequest
impl Clone for DeleteNotificationChannelRequest
Source§fn clone(&self) -> DeleteNotificationChannelRequest
fn clone(&self) -> DeleteNotificationChannelRequest
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 DeleteNotificationChannelRequest
impl Default for DeleteNotificationChannelRequest
Source§fn default() -> DeleteNotificationChannelRequest
fn default() -> DeleteNotificationChannelRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeleteNotificationChannelRequest
impl PartialEq for DeleteNotificationChannelRequest
Source§fn eq(&self, other: &DeleteNotificationChannelRequest) -> bool
fn eq(&self, other: &DeleteNotificationChannelRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteNotificationChannelRequest
Auto Trait Implementations§
impl Freeze for DeleteNotificationChannelRequest
impl RefUnwindSafe for DeleteNotificationChannelRequest
impl Send for DeleteNotificationChannelRequest
impl Sync for DeleteNotificationChannelRequest
impl Unpin for DeleteNotificationChannelRequest
impl UnwindSafe for DeleteNotificationChannelRequest
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