Re-exports§
pub use serde_json;
Modules§
Macros§
Structs§
- Configurable
Ref - 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§
- Bound
Direction - Generate
Error - Schema generation error.
- Number
Class - The class of a numeric type.
Traits§
- Configurable
- A type that can be represented in a Vector configuration.
- Configurable
Number - A numeric type that can be represented correctly in a JSON Schema document.
- Configurable
String - A string-like type that can be represented in a Vector configuration.
- Named
Component - 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 aMetadata
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. - Named
Component - Generates an implementation of the
NamedComponent
trait for the given container.