pub struct Caches {
pub enabled: bool,
pub command: Option<String>,
pub bindings: Option<String>,
pub init_module: Option<String>,
pub targets: Vec<CacheTarget>,
}Expand description
Module caches, one finaliser per target.
Fields§
§enabled: boolSet false to skip the phase.
command: Option<String>Cache writer, run once per run for the selected target with EB_PIPELINE_CACHE_* in the environment. Without it the phase is not configured.
bindings: Option<String>EB_PIPELINE_CACHE_BINDINGS.
init_module: Option<String>Default EB_PIPELINE_CACHE_INIT_MODULE for entries that set none.
targets: Vec<CacheTarget>[[caches.targets]] entries.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Caches
impl<'de> Deserialize<'de> for Caches
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
impl StructuralPartialEq for Caches
Auto Trait Implementations§
impl Freeze for Caches
impl RefUnwindSafe for Caches
impl Send for Caches
impl Sync for Caches
impl Unpin for Caches
impl UnwindSafe for Caches
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