Struct git_checks::CheckResult [] [src]

pub struct CheckResult { /* fields omitted */ }

The results of a check.

Methods

impl CheckResult
[src]

[src]

Create a new results structure.

[src]

Add a message to the result.

[src]

Adds a warning message to the results.

[src]

Adds an alert to the results.

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

[src]

Adds a error message to the results.

Also marks the checks as having failed.

[src]

Indicates that there are messages which may be temporary.

[src]

Allows the checks to pass no matter what.

[src]

The warnings from the checks.

[src]

The alerts from the checks.

[src]

The errors from the checks.

[src]

Whether there are temporary messages or not.

[src]

Whether the checks will allow the commit no matter what.

[src]

Whether the checks passed or failed.

[src]

Combine two results together.

Trait Implementations

impl Debug for CheckResult
[src]

[src]

Formats the value using the given formatter.

impl Default for CheckResult
[src]

[src]

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

impl From<TopicCheckResult> for CheckResult
[src]

[src]

Performs the conversion.