Enum RevisionSelector
pub enum RevisionSelector {
Head,
Branch(String),
Tag(String),
Ref(String),
Oid(String),
Other(String),
}Expand description
A revision selector classification.
Variants§
Head
HEAD selector.
Branch(String)
A branch selector.
Tag(String)
A tag selector.
Ref(String)
A full ref selector.
Oid(String)
Object identifier text.
Other(String)
Other selector text.
Trait Implementations§
§impl Clone for RevisionSelector
impl Clone for RevisionSelector
§fn clone(&self) -> RevisionSelector
fn clone(&self) -> RevisionSelector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RevisionSelector
impl Debug for RevisionSelector
§impl Display for RevisionSelector
impl Display for RevisionSelector
§impl Hash for RevisionSelector
impl Hash for RevisionSelector
§impl Ord for RevisionSelector
impl Ord for RevisionSelector
§fn cmp(&self, other: &RevisionSelector) -> Ordering
fn cmp(&self, other: &RevisionSelector) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for RevisionSelector
impl PartialEq for RevisionSelector
§impl PartialOrd for RevisionSelector
impl PartialOrd for RevisionSelector
impl Eq for RevisionSelector
impl StructuralPartialEq for RevisionSelector
Auto Trait Implementations§
impl Freeze for RevisionSelector
impl RefUnwindSafe for RevisionSelector
impl Send for RevisionSelector
impl Sync for RevisionSelector
impl Unpin for RevisionSelector
impl UnsafeUnpin for RevisionSelector
impl UnwindSafe for RevisionSelector
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