Expand description
Runtime values.
Value is the single dynamic value type flowing through a workflow. Large
payloads (strings, arrays, objects, files) are reference-counted, so cloning a
value — and therefore cloning a crate::pool::VariablePool — is O(1) per
entry instead of a deep copy.
Secrets are a distinct variant. They render in plaintext only where a node
explicitly asks for the raw value (Value::expose_secret); every
serialization path (events, logs, snapshots) masks them.
Structs§
- File
- A reference to a file. Content is resolved by the host.
- Type
Mismatch - Error returned when a value does not match a declared
ValueType.
Enums§
- File
Kind - Coarse file category used for routing (e.g. vision inputs).
- File
Transfer - How a file’s bytes are reachable. The runtime never reads file bytes itself; nodes that need content ask a host-provided resolver.
- Secret
Error - Error returned when a secret’s plaintext is required but unavailable.
- Value
- A dynamic runtime value.
- Value
Type - Declared type of a variable. Wire names are stable and used in workflow documents.
Constants§
- FILE_
MARKER_ KEY - Marker key used to serialize
Filevalues as plain JSON objects. - SECRET_
MARKER_ KEY - Marker key used for secrets inside snapshots:
{"$secret": "redacted"}. - SECRET_
MASK - Text shown instead of a secret’s contents.
Type Aliases§
- Map
- Ordered string-keyed map used for object values.