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 PartialOrd for Branch
impl PartialOrd for Branch
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)