Docs.rs
  • sapper_std-0.2.1
    • sapper_std 0.2.1
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • miketang84
    • Dependencies
      • sapper ^0.2 normal
      • sapper_body ^0.2 normal
      • sapper_logger ^0.2 normal
      • sapper_query ^0.2 normal
      • sapper_session ^0.2 normal
      • sapper_tmpl ^0.2 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
    • Versions
    • 0% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

sapper_std0.2.1

  • All Items

Crate Items

  • Macros
  • Structs
  • Enums
  • Functions
  • Type Aliases

Crate sapper_std

Source

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 Aliases§

TeraResult
Convenient wrapper around std::Result.