Crate vector_config

Source

Re-exports§

pub use serde_json;

Modules§

attributes
component
indexmap
schema
ser
validation

Macros§

impl_generate_config_from_default

Structs§

ConfigurableRef
A pseudo-reference to a type that can be represented in a Vector configuration. This is composed of references to all the class trait functions.
Metadata
The metadata associated with a given type or field.

Enums§

BoundDirection
GenerateError
Schema generation error.
NumberClass
The class of a numeric type.

Traits§

Configurable
A type that can be represented in a Vector configuration.
ConfigurableNumber
A numeric type that can be represented correctly in a JSON Schema document.
ConfigurableString
A string-like type that can be represented in a Vector configuration.
NamedComponent
A component with a well-known name.
ToValue
A type that can be converted directly to a serde_json::Value. This is used when translating the default value in a Metadata into a schema object.

Attribute Macros§

configurable_component
Designates a type as being part of a Vector configuration.

Derive Macros§

Configurable
Generates an implementation of the Configurable trait for the given container.
NamedComponent
Generates an implementation of the NamedComponent trait for the given container.