Struct git_checks::CheckResult[][src]

pub struct CheckResult { /* fields omitted */ }

The results of a check.

Methods

impl CheckResult
[src]

Create a new results structure.

Important traits for &'a mut R

Add a message to the result.

Important traits for &'a mut R

Adds a warning message to the results.

Important traits for &'a mut R

Adds an alert to the results.

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

Important traits for &'a mut R

Adds a error message to the results.

Also marks the checks as having failed.

Important traits for &'a mut R

Indicates that there are messages which may be temporary.

Important traits for &'a mut R

Allows the checks to pass no matter what.

Important traits for Vec<u8>

The warnings from the checks.

Important traits for Vec<u8>

The alerts from the checks.

Important traits for Vec<u8>

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. Read more

impl Default for CheckResult
[src]

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

Auto Trait Implementations

impl Send for CheckResult

impl Sync for CheckResult