Struct git_checks::checks::RejectMerges
[−]
[src]
pub struct RejectMerges;
A check which denies merge commits, including octopus merges.
Methods
impl RejectMerges[src]
Trait Implementations
impl Debug for RejectMerges[src]
impl Default for RejectMerges[src]
fn default() -> RejectMerges[src]
Returns the "default value" for a type. Read more
impl Clone for RejectMerges[src]
fn clone(&self) -> RejectMerges[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for RejectMerges[src]
impl Check for RejectMerges[src]
fn name(&self) -> &str[src]
The name of the check.
fn check(&self, _: &CheckGitContext, commit: &Commit) -> Result<CheckResult>[src]
Run the check.