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