pub struct SpliceMeta {Show 17 fields
pub defaulted: bool,
pub encoded: bool,
pub shape_erased: bool,
pub nil_omitted: bool,
pub yaml_serialized: bool,
pub string_contract: bool,
pub json_serialized: bool,
pub json_decoded: bool,
pub lexical_escapes: BTreeSet<LexicalEscape>,
pub split_segment: Option<SplitSegmentUse>,
pub merge_layers: Option<MergeLayersUse>,
pub range_key: bool,
pub omitted_members: BTreeMap<String, Vec<Guard>>,
pub digest: bool,
pub merge_operand: bool,
pub provenance: Vec<ContractProvenance>,
pub site: Option<Rc<SiteFacts>>,
}Expand description
Splice metadata: defaultedness, encoding, and source provenance.
Deliberately no predicates here — helper-internal branch conditions
lower into Guarded arms so the guard structure stays in the tree.
Fields§
§defaulted: boolThe render site substitutes a fallback when the path is empty/nil
(default, chart-level set … default mutations).
encoded: boolThe rendered text is an encoded transform of the value (b64enc),
so the sink schema does not constrain the value’s shape.
shape_erased: boolThe rendered text is a total stringification of the value (quote,
toString, join): any input type renders, so the sink neither
constrains nor reveals the input shape.
nil_omitted: boolThe stringification is Sprig quote/squote, which SKIP nil
operands: a missing or null source renders an explicit YAML null
into the sink, so provider-required slots still reject absence.
yaml_serialized: boolThe rendered fragment is the result of toYaml: every input kind can
be serialized, but its placement can still require sequence shape.
string_contract: boolA string-consuming transform (trunc, b64enc, a dynamic printf
format) shaped the rendered text: rendering fails for non-string
values, so this splice’s row binds a string contract under its own
conditions.
json_serialized: boolThe splice renders JSON text whose decoded value preserves this input identity.
json_decoded: boolThe splice’s runtime identity was recovered through JSON decoding.
lexical_escapes: BTreeSet<LexicalEscape>Lexical divergences between the raw string and the rendered value
(replace/split-prefix chains, trim affixes); lexical captures
project their language through them.
split_segment: Option<SplitSegmentUse>The rendered text is one separator-delimited segment of the source
string (regexSplit ":" . -1 | last): sinks constrain that segment,
and raw-identity consumers (quoted-token claims, parser preimages)
must not read the splice as the raw value.
merge_layers: Option<MergeLayersUse>Set when the splice renders one layer of an ordered merge.
range_key: boolThe splice renders the collection’s RANGE KEY, not its value: sinks constrain the key domain (a string-only slot excludes the integer keys of a non-empty list lane), and raw-identity consumers must not read it as the collection’s value.
omitted_members: BTreeMap<String, Vec<Guard>>Literal member keys a guard-scoped omit may remove from the
rendered map, with the sound RETAIN guards under which each key
certainly survives.
digest: boolThe slot renders fresh text DERIVED from the value
(include … | sha256sum): the sink observes neither the value nor
its serialization, so the row abstains from slot typing and from
path-wide serialization claims while keeping branch tolerance.
merge_operand: boolThe spliced value flowed through a Sprig merge call as a DIRECT
operand: the operand’s strict map contract rides its own fail
implication, so the row never rejects a Helm-falsy input at the base.
provenance: Vec<ContractProvenance>Helper-body source sites this splice was derived through.
site: Option<Rc<SiteFacts>>The render site the splice materializes at.
Trait Implementations§
Source§impl Clone for SpliceMeta
impl Clone for SpliceMeta
Source§fn clone(&self) -> SpliceMeta
fn clone(&self) -> SpliceMeta
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SpliceMeta
impl Debug for SpliceMeta
Source§impl Default for SpliceMeta
impl Default for SpliceMeta
Source§fn default() -> SpliceMeta
fn default() -> SpliceMeta
impl Eq for SpliceMeta
Source§impl PartialEq for SpliceMeta
impl PartialEq for SpliceMeta
impl StructuralPartialEq for SpliceMeta
Auto Trait Implementations§
impl !Send for SpliceMeta
impl !Sync for SpliceMeta
impl Freeze for SpliceMeta
impl RefUnwindSafe for SpliceMeta
impl Unpin for SpliceMeta
impl UnsafeUnpin for SpliceMeta
impl UnwindSafe for SpliceMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.