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