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