Struct git_checks::checks::AllowRobot [−][src]
pub struct AllowRobot { /* fields omitted */ }A check to allow robots to skip all checks.
Methods
impl AllowRobot[src]
impl AllowRobotpub fn new(identity: Identity) -> Self[src]
pub fn new(identity: Identity) -> SelfCreate a new check to allow robots to skip checks.
Any actions performed by the identity are waved through and all other checks are ignored.
Trait Implementations
impl Debug for AllowRobot[src]
impl Debug for AllowRobotfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl BranchCheck for AllowRobot[src]
impl BranchCheck for AllowRobotfn name(&self) -> &str[src]
fn name(&self) -> &strThe name of the check.
fn check(&self, ctx: &CheckGitContext, _: &CommitId) -> Result<CheckResult>[src]
fn check(&self, ctx: &CheckGitContext, _: &CommitId) -> Result<CheckResult>Run the check.
Auto Trait Implementations
impl Send for AllowRobot
impl Send for AllowRobotimpl Sync for AllowRobot
impl Sync for AllowRobot