Crate uri_template_system_core

Source
Expand description

§uri-template-system-core

This package is an internal implementation package - it shouldn’t be consumed as a direct dependency. Please see uri-template-system for the top-level package intended for use.

Structs§

Template
The Template type is the basis for most simple tasks. Parsing and expansion are both template functions.
Values
The Values type is used as the source of content during template expansion, and is a logical map of keys to typed Value (which may or may not be present during expansion).

Enums§

ExpandError
An Error compatible type which may be the result of a failure of Template::expand (given a valid Template and provided Values).
ParseError
An Error compatible type which may be the result of a failure of Template::parse, likely due to an invalid URI Template format (as defined by the grammar given in RFC6570).
Value
The Value type is used as the source of content during template expansion, as part of a Values collection. It maps to the three valid shapes of data defined by the RFC (a single item, a list of items, or a list of key/value pairs).