pub struct LayerTypes {
pub launch: bool,
pub build: bool,
pub cache: bool,
}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 Clone for LayerTypes
impl Clone for LayerTypes
Source§fn clone(&self) -> LayerTypes
fn clone(&self) -> LayerTypes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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 for LayerTypes
impl PartialEq for LayerTypes
Source§impl Serialize for LayerTypes
impl Serialize for LayerTypes
impl Copy for LayerTypes
impl Eq for LayerTypes
impl StructuralPartialEq for LayerTypes
Auto Trait Implementations§
impl Freeze for LayerTypes
impl RefUnwindSafe for LayerTypes
impl Send for LayerTypes
impl Sync for LayerTypes
impl Unpin for LayerTypes
impl UnwindSafe for LayerTypes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more