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