pub enum ReleaseComparator {
Eq,
Gt,
Gte,
Lt,
Lte,
Unsupported,
}Expand description
The comparison a ReleaseCondition applies.
Variants§
Eq
The version of the field is equal to the value.
Unlike EqCondition, this ignores the build code of the release.
Gt
The version of the field is greater than the value.
Gte
The version of the field is greater than or equal to the value.
Lt
The version of the field is less than the value.
Lte
The version of the field is less than or equal to the value.
Unsupported
An unsupported comparator for future compatibility. It never matches.
Trait Implementations§
Source§impl Clone for ReleaseComparator
impl Clone for ReleaseComparator
Source§fn clone(&self) -> ReleaseComparator
fn clone(&self) -> ReleaseComparator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReleaseComparator
Source§impl Debug for ReleaseComparator
impl Debug for ReleaseComparator
Source§impl<'de> Deserialize<'de> for ReleaseComparator
impl<'de> Deserialize<'de> for ReleaseComparator
Source§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
impl Eq for ReleaseComparator
Source§impl PartialEq for ReleaseComparator
impl PartialEq for ReleaseComparator
Source§impl Serialize for ReleaseComparator
impl Serialize for ReleaseComparator
impl StructuralPartialEq for ReleaseComparator
Auto Trait Implementations§
impl Freeze for ReleaseComparator
impl RefUnwindSafe for ReleaseComparator
impl Send for ReleaseComparator
impl Sync for ReleaseComparator
impl Unpin for ReleaseComparator
impl UnsafeUnpin for ReleaseComparator
impl UnwindSafe for ReleaseComparator
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