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