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