pub fn version(&self) -> Option<&Version> {
        match &self {
            Bound::Unbounded => None,
            Bound::Exclusive(v) => Some(v),
            Bound::Inclusive(v) => Some(v),
        }
    }
/// Returns just the version, ignoring whether the bound is inclusive or exclusive
Returns just the version, ignoring whether the bound is inclusive or exclusive
Returns just the version ignoring whether the bound is inclusive or exclusive
pub fn version(&self) -> Option<&Version> {
        match &self {
            Bound::Unbounded => None,
            Bound::Exclusive(v) => Some(v),
            Bound::Inclusive(v) => Some(v),
        }
    }
pub fn version ( & self ) -> Option < & Version > { match & self { Bound :: Unbounded => None , Bound :: Exclusive ( v ) => Some ( v ) , Bound :: Inclusive ( v ) => Some ( v ) , } }
Returns just the version, ignoring whether the bound is inclusive or exclusive
Returns just the version ignoring whether the bound is inclusive or exclusive
&self
&self