Struct git_checks::CheckResult [] [src]

pub struct CheckResult { /* fields omitted */ }

The results of a check.

Methods

impl CheckResult
[src]

Create a new results structure.

Add a message to the result.

Adds a warning message to the results.

Adds an alert to the results.

These messages should be brought to the attention of those maintaining the deployment of the checks.

Adds a error message to the results.

Also marks the checks as having failed.

Indicates that there are messages which may be temporary.

Allows the checks to pass no matter what.

The warnings from the checks.

The alerts from the checks.

The errors from the checks.

Whether there are temporary messages or not.

Whether the checks will allow the commit no matter what.

Whether the checks passed or failed.

Combine two results together.

Trait Implementations

impl Debug for CheckResult
[src]

Formats the value using the given formatter.

impl Default for CheckResult
[src]

Returns the "default value" for a type. Read more

impl From<TopicCheckResult> for CheckResult
[src]

Performs the conversion.