Enum git_repository::reference::remote::Name
source · Expand description
The name of a remote, either interpreted as symbol like origin
or as url as returned by Reference::remote_name()
.
Variants
Symbol(Cow<'repo, str>)
A symbolic name, like origin
Url(Cow<'repo, BStr>)
A url pointing to the remote host directly.
Implementations
Trait Implementations
sourceimpl<'repo> PartialEq<Name<'repo>> for Name<'repo>
impl<'repo> PartialEq<Name<'repo>> for Name<'repo>
impl<'repo> Eq for Name<'repo>
impl<'repo> StructuralEq for Name<'repo>
impl<'repo> StructuralPartialEq for Name<'repo>
Auto Trait Implementations
impl<'repo> RefUnwindSafe for Name<'repo>
impl<'repo> Send for Name<'repo>
impl<'repo> Sync for Name<'repo>
impl<'repo> Unpin for Name<'repo>
impl<'repo> UnwindSafe for Name<'repo>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more