Enum gix_submodule::config::Branch
source · pub enum Branch {
CurrentInSuperproject,
Name(BString),
}
Expand description
Describes the branch that should be tracked on the remote.
Variants§
CurrentInSuperproject
The name of the remote branch should be the same as the one currently checked out in the superproject.
Name(BString)
The validated remote-only branch that could be used for fetching.
Trait Implementations§
source§impl Ord for Branch
impl Ord for Branch
source§impl PartialEq for Branch
impl PartialEq for Branch
source§impl PartialOrd for Branch
impl PartialOrd for Branch
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Branch
impl StructuralPartialEq for Branch
Auto Trait Implementations§
impl Freeze for Branch
impl RefUnwindSafe for Branch
impl Send for Branch
impl Sync for Branch
impl Unpin for Branch
impl UnwindSafe for Branch
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