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