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