Struct json_gettext::JSONGetText[][src]

pub struct JSONGetText { /* fields omitted */ }

A wrapper for context and a default key. Keys are usually 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.

Get filtered text from context by a Regex instance. The output map is usually used for serialization.

Get filtered text from context with a specific key by a Regex instance. The output map is usually used for serialization.

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