#[non_exhaustive]pub struct DeleteTargetInput {
pub target_address: Option<String>,
pub force_unsubscribe_all: bool,
}
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.target_address: Option<String>
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.
force_unsubscribe_all: bool
A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
Implementations§
source§impl DeleteTargetInput
impl DeleteTargetInput
sourcepub fn target_address(&self) -> Option<&str>
pub fn target_address(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.
sourcepub fn force_unsubscribe_all(&self) -> bool
pub fn force_unsubscribe_all(&self) -> bool
A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
source§impl DeleteTargetInput
impl DeleteTargetInput
sourcepub fn builder() -> DeleteTargetInputBuilder
pub fn builder() -> DeleteTargetInputBuilder
Creates a new builder-style object to manufacture DeleteTargetInput
.
Trait Implementations§
source§impl Clone for DeleteTargetInput
impl Clone for DeleteTargetInput
source§fn clone(&self) -> DeleteTargetInput
fn clone(&self) -> DeleteTargetInput
Returns a copy 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 Debug for DeleteTargetInput
impl Debug for DeleteTargetInput
source§impl PartialEq<DeleteTargetInput> for DeleteTargetInput
impl PartialEq<DeleteTargetInput> for DeleteTargetInput
source§fn eq(&self, other: &DeleteTargetInput) -> bool
fn eq(&self, other: &DeleteTargetInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteTargetInput
Auto Trait Implementations§
impl RefUnwindSafe for DeleteTargetInput
impl Send for DeleteTargetInput
impl Sync for DeleteTargetInput
impl Unpin for DeleteTargetInput
impl UnwindSafe for DeleteTargetInput
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