Enum protofetch::model::protofetch::Revision
source · pub enum Revision {
Semver {
major: SemverComponent,
minor: SemverComponent,
patch: SemverComponent,
},
Arbitrary {
revision: String,
},
}Variants§
Trait Implementations§
source§impl Ord for Revision
impl Ord for Revision
source§impl PartialEq<Revision> for Revision
impl PartialEq<Revision> for Revision
source§impl PartialOrd<Revision> for Revision
impl PartialOrd<Revision> for Revision
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Revision
impl StructuralEq for Revision
impl StructuralPartialEq for Revision
Auto Trait Implementations§
impl RefUnwindSafe for Revision
impl Send for Revision
impl Sync for Revision
impl Unpin for Revision
impl UnwindSafe for Revision
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.