pub fn is_duplicate_target_group_name_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreateTargetGroupErrorKind::DuplicateTargetGroupNameException(_)
        )
    }
/// Returns `true` if the error kind is `CreateTargetGroupErrorKind::DuplicateTargetGroupNameException`.
Returns `true` if the error kind is `CreateTargetGroupErrorKind::DuplicateTargetGroupNameException`.
Returns ` true ` if the error kind is ` CreateTargetGroupErrorKind :: DuplicateTargetGroupNameException ` .
pub fn is_duplicate_target_group_name_exception(&self) -> bool {
        matches!(
            &self.kind,
            CreateTargetGroupErrorKind::DuplicateTargetGroupNameException(_)
        )
    }
pub fn is_duplicate_target_group_name_exception ( & self ) -> bool { matches ! ( self kind CreateTargetGroupErrorKind DuplicateTargetGroupNameException ( ) ) }
Returns `true` if the error kind is `CreateTargetGroupErrorKind::DuplicateTargetGroupNameException`.
Returns ` true ` if the error kind is ` CreateTargetGroupErrorKind :: DuplicateTargetGroupNameException ` .
&self
&self