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
sourceimpl Debug for LayerTypes
impl Debug for LayerTypes
sourceimpl Default for LayerTypes
impl Default for LayerTypes
sourcefn default() -> LayerTypes
fn default() -> LayerTypes
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LayerTypes
impl<'de> Deserialize<'de> for LayerTypes
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 PartialEq<LayerTypes> for LayerTypes
impl PartialEq<LayerTypes> for LayerTypes
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &LayerTypes) -> bool
fn ne(&self, other: &LayerTypes) -> bool
This method tests for !=.
sourceimpl Serialize for LayerTypes
impl Serialize for LayerTypes
impl Eq for LayerTypes
impl StructuralEq for LayerTypes
impl StructuralPartialEq for LayerTypes
Auto Trait Implementations
impl RefUnwindSafe for LayerTypes
impl Send for LayerTypes
impl Sync for LayerTypes
impl Unpin for LayerTypes
impl UnwindSafe for LayerTypes
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