Struct git_checks::checks::RejectSeparateRoot
[−]
[src]
pub struct RejectSeparateRoot;
A check which denies root commits.
Methods
impl RejectSeparateRoot[src]
Trait Implementations
impl Debug for RejectSeparateRoot[src]
impl Default for RejectSeparateRoot[src]
fn default() -> RejectSeparateRoot[src]
Returns the "default value" for a type. Read more
impl Clone for RejectSeparateRoot[src]
fn clone(&self) -> RejectSeparateRoot[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 RejectSeparateRoot[src]
impl Check for RejectSeparateRoot[src]
fn name(&self) -> &str[src]
The name of the check.
fn check(&self, _: &CheckGitContext, commit: &Commit) -> Result<CheckResult>[src]
Run the check.