Struct libcnb_data::buildpack::BuildpackVersion
source · Expand description
The Buildpack version.
This MUST be in the form <X>.<Y>.<Z> where X, Y, and Z are non-negative integers
and must not contain leading zeros.
Fields§
§major: u64§minor: u64§patch: u64Implementations§
Trait Implementations§
source§impl Debug for BuildpackVersion
impl Debug for BuildpackVersion
source§impl<'de> Deserialize<'de> for BuildpackVersion
impl<'de> Deserialize<'de> for BuildpackVersion
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for BuildpackVersion
impl Display for BuildpackVersion
source§impl PartialEq<BuildpackVersion> for BuildpackVersion
impl PartialEq<BuildpackVersion> for BuildpackVersion
source§fn eq(&self, other: &BuildpackVersion) -> bool
fn eq(&self, other: &BuildpackVersion) -> bool
This method tests for
self and other values to be equal, and is used
by ==.