Struct semver_parser::range::Predicate
source · 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§
source§impl PartialEq for Predicate
impl PartialEq for Predicate
impl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnwindSafe for Predicate
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