Struct json_gettext::JSONGetTextBuilder[][src]

pub struct JSONGetTextBuilder<'a> { /* fields omitted */ }

To build a JSONGetText instance, this struct can help you do that step by step.

Methods

impl<'a> JSONGetTextBuilder<'a>
[src]

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

Add a JSON string to the context for a specify key. The JSON string must represent an object (key-value).

Add JSON binary data to the context for a specify key. The JSON binary data must represent an object (key-value).

Add JSON binary data from a file to the context for a specify key. The JSON binary data must represent an object (key-value).

Add a map to the context.

Build a JSONGetText instance.

Trait Implementations

impl<'a> Debug for JSONGetTextBuilder<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for JSONGetTextBuilder<'a>

impl<'a> Sync for JSONGetTextBuilder<'a>