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