Struct git_checks::checks::SubmoduleAvailable [−][src]
pub struct SubmoduleAvailable { /* fields omitted */ }Check that submodules are reachable from a given branch and available.
Methods
impl SubmoduleAvailable[src]
impl SubmoduleAvailablepub fn new() -> Self[src]
pub fn new() -> SelfChecks that submodules in the project are available.
ⓘImportant traits for &'a mut Rpub fn require_first_parent(&mut self, require: bool) -> &mut Self[src]
ⓘImportant traits for &'a mut R
pub fn require_first_parent(&mut self, require: bool) -> &mut SelfSets whether a first parent history is required to reach the commit.
If the merge commit of the submodule into the tracked branch should be required, set this flag.
Trait Implementations
impl Debug for SubmoduleAvailable[src]
impl Debug for SubmoduleAvailablefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for SubmoduleAvailable[src]
impl Default for SubmoduleAvailablefn default() -> SubmoduleAvailable[src]
fn default() -> SubmoduleAvailableReturns the "default value" for a type. Read more
impl Clone for SubmoduleAvailable[src]
impl Clone for SubmoduleAvailablefn clone(&self) -> SubmoduleAvailable[src]
fn clone(&self) -> SubmoduleAvailableReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for SubmoduleAvailable[src]
impl Copy for SubmoduleAvailableimpl Check for SubmoduleAvailable[src]
impl Check for SubmoduleAvailablefn name(&self) -> &str[src]
fn name(&self) -> &strThe name of the check.
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>[src]
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>Run the check.
Auto Trait Implementations
impl Send for SubmoduleAvailable
impl Send for SubmoduleAvailableimpl Sync for SubmoduleAvailable
impl Sync for SubmoduleAvailable