pub struct OParVersion {
pub major: u32,
pub minor: u32,
pub patch: u32,
pub pre: Option<String>,
}Expand description
A version tag for OPar output artifacts.
Fields§
§major: u32§minor: u32§patch: u32§pre: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for OParVersion
impl Clone for OParVersion
Source§fn clone(&self) -> OParVersion
fn clone(&self) -> OParVersion
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 OParVersion
impl Debug for OParVersion
Source§impl Display for OParVersion
impl Display for OParVersion
Source§impl Hash for OParVersion
impl Hash for OParVersion
Source§impl Ord for OParVersion
impl Ord for OParVersion
Source§fn cmp(&self, other: &OParVersion) -> Ordering
fn cmp(&self, other: &OParVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OParVersion
impl PartialEq for OParVersion
Source§impl PartialOrd for OParVersion
impl PartialOrd for OParVersion
impl Eq for OParVersion
impl StructuralPartialEq for OParVersion
Auto Trait Implementations§
impl Freeze for OParVersion
impl RefUnwindSafe for OParVersion
impl Send for OParVersion
impl Sync for OParVersion
impl Unpin for OParVersion
impl UnsafeUnpin for OParVersion
impl UnwindSafe for OParVersion
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