Expand description
This crate contains Value
, an enum representing all values that can be used as
node’s input and output, and utilities for working with Value
.
Common operations:
- Converting
Value
to Rust types. - Converting Rust types to
Value
. - Receiving
flow_value::Map
as node’s input. - Returning
flow_value::Map
as node’s output. - Converting
Value
to/from JSON to use in HTTP APIs and database. - Getting and updating nested values with JSON Pointer syntax.
Modules§
Macros§
Structs§
- Bytes
- Const
Bytes - Decimal
Decimal
represents a 128 bit representation of a fixed-precision decimal number. The finite set of values of typeDecimal
are of the form m / 10e, where m is an integer such that -296 < m < 296, and e is an integer between 0 and 28 inclusive.
Enums§
Functions§
- from_
map - Interpret a
Map
as an instance of typeT
- from_
value - Interpret a
Value
as an instance of typeT
- to_map
- Convert a
T
intoMap
. - to_
value - Convert a
T
intoValue
.