Struct json_gettext::JSONGetText[][src]

pub struct JSONGetText { /* fields omitted */ }

A wrapper for context and a default key. Keys usually be considered as locales.

Methods

impl JSONGetText
[src]

Create a new JSONGetTextBuilder instance. You need to decide your default key at the stage.

Create a new JSONGetText instance with context and a default key.

Get all keys in context.

Get the default key.

Get a string map from context by a key.

Get text from context.

Get text from context with a specific key.

Trait Implementations

impl Debug for JSONGetText
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for JSONGetText

impl Sync for JSONGetText