[−][src]Struct git_checks::checks::SubmoduleAvailable
Check that submodules are reachable from a given branch and available.
Methods
impl SubmoduleAvailable
[src]
pub fn new() -> Self
[src]
Checks that submodules in the project are available.
pub fn require_first_parent(&mut self, require: bool) -> &mut Self
[src]
Sets 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 Check for SubmoduleAvailable
[src]
fn name(&self) -> &str
[src]
fn check(&self, ctx: &CheckGitContext, commit: &Commit) -> Result<CheckResult>
[src]
impl Copy for SubmoduleAvailable
[src]
impl Default for SubmoduleAvailable
[src]
fn default() -> SubmoduleAvailable
[src]
impl Clone for SubmoduleAvailable
[src]
fn clone(&self) -> SubmoduleAvailable
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SubmoduleAvailable
[src]
Auto Trait Implementations
impl Send for SubmoduleAvailable
impl Unpin for SubmoduleAvailable
impl Sync for SubmoduleAvailable
impl UnwindSafe for SubmoduleAvailable
impl RefUnwindSafe for SubmoduleAvailable
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,