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