pub enum VersionKind {
Single(String),
MinMax(String, String),
}Variants§
Trait Implementations§
Source§impl Clone for VersionKind
impl Clone for VersionKind
Source§fn clone(&self) -> VersionKind
fn clone(&self) -> VersionKind
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 moreSource§impl Debug for VersionKind
impl Debug for VersionKind
Source§impl<'de> Deserialize<'de> for VersionKind
impl<'de> Deserialize<'de> for VersionKind
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
Source§impl PartialEq for VersionKind
impl PartialEq for VersionKind
Source§impl Serialize for VersionKind
impl Serialize for VersionKind
impl Eq for VersionKind
impl StructuralPartialEq for VersionKind
Auto Trait Implementations§
impl Freeze for VersionKind
impl RefUnwindSafe for VersionKind
impl Send for VersionKind
impl Sync for VersionKind
impl Unpin for VersionKind
impl UnwindSafe for VersionKind
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