Struct semver_parser::version::Version [] [src]

pub struct Version {
    pub major: u64,
    pub minor: u64,
    pub patch: u64,
    pub pre: Vec<Identifier>,
    pub build: Vec<Identifier>,
}

Fields

major: u64 minor: u64 patch: u64 pre: Vec<Identifier> build: Vec<Identifier>

Trait Implementations

impl Eq for Version
[src]

impl PartialEq for Version
[src]

fn eq(&self, __arg_0: &Version) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Version) -> bool

This method tests for !=.

impl Debug for Version
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Version
[src]

fn clone(&self) -> Version

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Display for Version
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.