Trait Context

trait Context: Sized

A trait for types that can behave as a static URI template expansion context.

This type is for use with UriTemplateStr::expand method.

See [the module documentation]crate::template for usage.

Required Methods

fn visit<V: Visitor>(self: &Self, visitor: V) -> <V as >::Result

Visits a variable.

To get variable name, use [Visitor::var_name()].

Implementors