Enum guppy::graph::summaries::GitReqSummary [−][src]
Expand description
A summary specification for a Git branch, tag or revision.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Branch(String)
A branch, e.g. "main"
.
Tuple Fields of Branch
0: String
Tag(String)
A tag, e.g. "guppy-0.5.0"
.
Tuple Fields of Tag
0: String
Rev(String)
A revision (commit hash), e.g. "0227f048fcb7c798026ede6cc20c92befc84c3a4"
.
Tuple Fields of Rev
0: String
The main branch by default.
Implementations
Creates a new GitReqSummary
from the provided GitReq
.
Converts self
into a GitReq
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for GitReqSummary
impl Send for GitReqSummary
impl Sync for GitReqSummary
impl Unpin for GitReqSummary
impl UnwindSafe for GitReqSummary
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.