pub enum RefNamespace {
Heads,
Remotes,
Tags,
Custom(String),
}Expand description
Which ref namespace to include in a RefQuery.
Variants§
Heads
refs/heads/*
Remotes
refs/remotes/*
Tags
refs/tags/*
Custom(String)
Any ref whose full name starts with this prefix (for example refs/notes/).
Trait Implementations§
Source§impl Clone for RefNamespace
impl Clone for RefNamespace
Source§impl Debug for RefNamespace
impl Debug for RefNamespace
impl Eq for RefNamespace
Source§impl PartialEq for RefNamespace
impl PartialEq for RefNamespace
impl StructuralPartialEq for RefNamespace
Auto Trait Implementations§
impl Freeze for RefNamespace
impl RefUnwindSafe for RefNamespace
impl Send for RefNamespace
impl Sync for RefNamespace
impl Unpin for RefNamespace
impl UnsafeUnpin for RefNamespace
impl UnwindSafe for RefNamespace
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