Struct preset_env_base::version::Version
source · Expand description
A version of a browser.
This is similar to semver, but this assumes a production build. (No tag like
alpha
)
Fields§
§major: u32
a
in a.b.c
minor: u32
b
in a.b.c
patch: u32
c
in a.b.c
Trait Implementations§
source§impl<'de> Deserialize<'de> for Version
impl<'de> Deserialize<'de> for Version
source§fn deserialize<D>(deserializer: D) -> Result<Version, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Version, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Version> for QueryOrVersion
impl From<Version> for QueryOrVersion
source§impl Ord for Version
impl Ord for Version
source§impl PartialOrd<Version> for Version
impl PartialOrd<Version> for Version
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more