Struct libcnb_data::layer_content_metadata::LayerTypes
source · Expand description
Used to specify layer availability based on buildpack phase.
Fields§
§launch: boolWhether the layer is intended for launch.
build: boolWhether the layer is intended for build.
cache: boolWhether the layer is cached.
Trait Implementations§
source§impl Debug for LayerTypes
impl Debug for LayerTypes
source§impl Default for LayerTypes
impl Default for LayerTypes
source§fn default() -> LayerTypes
fn default() -> LayerTypes
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LayerTypes
impl<'de> Deserialize<'de> for LayerTypes
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 PartialEq<LayerTypes> for LayerTypes
impl PartialEq<LayerTypes> for LayerTypes
source§fn eq(&self, other: &LayerTypes) -> bool
fn eq(&self, other: &LayerTypes) -> bool
This method tests for
self and other values to be equal, and is used
by ==.