Struct semver_parser::range::Predicate [] [src]

pub struct Predicate {
    pub op: Op,
    pub major: u64,
    pub minor: Option<u64>,
    pub patch: Option<u64>,
    pub pre: Vec<Identifier>,
}

Fields

op: Op major: u64 minor: Option<u64> patch: Option<u64> pre: Vec<Identifier>

Trait Implementations

impl Debug for Predicate
[src]

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

Formats the value using the given formatter.

impl PartialEq for Predicate
[src]

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

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

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

This method tests for !=.