Module lookup_v2

Source

Structs§

ConfigTargetPath
A wrapper around OwnedTargetPath that allows it to be used in Vector config with prefix default to PathPrefix::Event
ConfigValuePath
A wrapper around OwnedValuePath that allows it to be used in Vector config. This requires a valid path to be used. If you want to allow optional paths, use optional_path::OptionalValuePath.
OptionalTargetPath
An optional path that deserializes an empty string to None.
OptionalValuePath
An optional path that deserializes an empty string to None.
OwnedTargetPath
An owned path that contains a target (pointing to either an Event or Metadata)
OwnedValuePath
A lookup path.
PathConcat

Enums§

BorrowedSegment
OwnedSegment
PathParseError
PathPrefix

Traits§

TargetPath
ValuePath
A path is simply the data describing how to look up a field from a value. This should only be implemented for types that are very cheap to clone, such as references.

Functions§

parse_target_path
Used to pre-parse a path. The return value (when borrowed) implements Path so it can be used directly. This parses a target path, which is a path that contains a target prefix.
parse_value_path
Used to pre-parse a path. The return value (when borrowed) implements Path so it can be used directly. This parses a value path, which is a path without a target prefix.