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