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