Json
Truthy
rocket_
dyn_
templates
0.5.1
Json
Truthy
Required Methods
is_truthy
Implementors
In rocket_
dyn_
templates::
handlebars
Modules
template
Macros
handlebars_helper
Structs
BlockContext
BlockParams
Context
Decorator
Handlebars
Helper
LocalVars
PathAndJson
RenderContext
RenderError
StringOutput
Template
TemplateError
Enums
JsonValue
Path
RenderErrorReason
ScopedJson
TemplateErrorReason
Traits
DecoratorDef
Evaluable
HelperDef
JsonRender
JsonTruthy
Output
Renderable
Functions
html_escape
no_escape
to_json
Type Aliases
EscapeFn
HelperResult
rocket_dyn_templates
::
handlebars
Trait
JsonTruthy
Copy item path
Settings
Help
Summary
Source
pub trait JsonTruthy { // Required method fn
is_truthy
(&self, include_zero:
bool
) ->
bool
; }
Required Methods
§
Source
fn
is_truthy
(&self, include_zero:
bool
) ->
bool
Implementors
§
Source
§
impl
JsonTruthy
for
Value