Enum tydi_manifest::GitReference [−][src]
Expand description
Git reference enumeration.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Branch(String)
Tuple Fields
0: String
Reference to a branch.
Tag(String)
Tuple Fields
0: String
Reference to a tag.
Rev(String)
Tuple Fields
0: String
Reference to revision (SHA-1 hash).
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GitReference
impl Send for GitReference
impl Sync for GitReference
impl Unpin for GitReference
impl UnwindSafe for GitReference
Blanket Implementations
Mutably borrows from an owned value. Read more