pub enum IsCondition {
AllUpToDate,
Populated,
Clean,
Synced,
OnBranch,
}Variants§
AllUpToDate
Check whether every submodule’s parent-recorded commit matches the tip of its remote branch
Populated
Check whether all submodules have been initialized and cloned locally
Clean
Check whether all submodules have no uncommitted changes
Synced
Check whether each submodule’s locally checked-out commit matches what the parent records
OnBranch
Check whether all submodules are checked out on their configured branch (not detached HEAD)
Trait Implementations§
Source§impl Clone for IsCondition
impl Clone for IsCondition
Source§fn clone(&self) -> IsCondition
fn clone(&self) -> IsCondition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ValueEnum for IsCondition
impl ValueEnum for IsCondition
Auto Trait Implementations§
impl Freeze for IsCondition
impl RefUnwindSafe for IsCondition
impl Send for IsCondition
impl Sync for IsCondition
impl Unpin for IsCondition
impl UnsafeUnpin for IsCondition
impl UnwindSafe for IsCondition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more