[][src]Crate sapper_std

Macros

_missing_or_unrecognized
_using_default
get_ext
get_ext_owned
get_form_params
get_json_params
get_params
get_path_params
get_query_params
res_400
res_404
res_500
res_html
res_html_before
res_json
res_json_error
res_json_ok
res_redirect
res_xml_string
set_response_redirect
t_arr_param
t_arr_param_default
t_cond
t_has_param
t_param
t_param_default
t_param_parse
t_param_parse_default

Structs

FormParams
JsonParams
PathParams

Path parameter type

QueryParams
SessionVal
TERA
WebContext

The struct that holds the context of a template rendering.

Enums

TeraValue

Represents any valid JSON value.

Functions

finish
init
render
set_cookie
splog
to_value

Convert a T into serde_json::Value which is an enum that can represent any valid JSON data.

Type Definitions

TeraResult

Convenient wrapper around std::Result.