pub struct MergeLayersUse {
pub layers: Vec<String>,
pub position: usize,
pub nil_scrubbed_layers: Vec<bool>,
pub via_binding: bool,
}Expand description
The value is one layer of an ordered Sprig merge: a key of an earlier
layer shadows the same key of every later layer at the rendered sink, so
a later layer’s member reaches the sink only where every earlier layer
lacks that member.
Fields§
§layers: Vec<String>Every layer’s values path, highest precedence first.
position: usizeThis use’s own index within layers.
nil_scrubbed_layers: Vec<bool>Per-layer scrub markers, parallel to layers: a true layer’s map
had nil members recursively removed before the merge (airflow’s
removeNilFields), so that layer’s sink typing must admit null
member spellings, and binding-carried rows of a scrub-involving
merge keep the layered routing.
via_binding: boolThe layer facts were recovered from a local BINDING’s meta (the
merged value flowed through a helper output before rendering)
rather than the render site’s own layered value. Such rows keep
their base metadata field kind: the binding’s other dispatch arms
(bitnami’s tplvalues.render string lane) rely on the string-map
alternative it contributes, while direct render-site layers moved
that typing onto the synthesized arms entirely.
Implementations§
Source§impl MergeLayersUse
impl MergeLayersUse
Sourcepub fn shadowed_by(&self) -> &[String]
pub fn shadowed_by(&self) -> &[String]
The higher-precedence layer paths whose keys shadow this layer’s.
Trait Implementations§
Source§impl Clone for MergeLayersUse
impl Clone for MergeLayersUse
Source§fn clone(&self) -> MergeLayersUse
fn clone(&self) -> MergeLayersUse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more