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