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: u64minor: u64patch: u64Implementations
Trait Implementations
sourceimpl Debug for BuildpackVersion
impl Debug for BuildpackVersion
sourceimpl<'de> Deserialize<'de> for BuildpackVersion
impl<'de> Deserialize<'de> for BuildpackVersion
sourcefn 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
sourceimpl Display for BuildpackVersion
impl Display for BuildpackVersion
sourceimpl PartialEq<BuildpackVersion> for BuildpackVersion
impl PartialEq<BuildpackVersion> for BuildpackVersion
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &BuildpackVersion) -> bool
fn ne(&self, other: &BuildpackVersion) -> bool
This method tests for !=.
sourceimpl TryFrom<&str> for BuildpackVersion
impl TryFrom<&str> for BuildpackVersion
impl Eq for BuildpackVersion
impl StructuralEq for BuildpackVersion
impl StructuralPartialEq for BuildpackVersion
Auto Trait Implementations
impl RefUnwindSafe for BuildpackVersion
impl Send for BuildpackVersion
impl Sync for BuildpackVersion
impl Unpin for BuildpackVersion
impl UnwindSafe for BuildpackVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more