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