Enum gix_refspec::match_group::Source
source · pub enum Source {
FullName(BString),
ObjectId(ObjectId),
}
Expand description
The source (or left-hand) side of a mapping, which owns its name.
Variants§
FullName(BString)
A full reference name, which is expected to be valid.
Validity, however, is not enforced here.
ObjectId(ObjectId)
The name of an object that is expected to exist on the remote side. Note that it might not be advertised by the remote but part of the object graph, and thus gets sent in the pack. The server is expected to fail unless the desired object is present but at some time it is merely a request by the user.
Trait Implementations§
source§impl PartialEq for Source
impl PartialEq for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)