pub struct ExportProps<'a, T: TranslationsManager> {
    pub templates: &'a TemplateMap<SsrNode>,
    pub html_shell: HtmlShell,
    pub locales: &'a Locales,
    pub immutable_store: &'a ImmutableStore,
    pub translations_manager: &'a T,
    pub path_prefix: String,
    pub global_state: &'a Option<String>,
}
Expand description

The properties necessary to export an app.

Fields

templates: &'a TemplateMap<SsrNode>

All the templates in the app.

html_shell: HtmlShell

The HTML shell to use.

locales: &'a Locales

The locales data for the app.

immutable_store: &'a ImmutableStore

An immutable store.

translations_manager: &'a T

A translations manager.

path_prefix: String

The server-side path prefix/

global_state: &'a Option<String>

A stringified global state.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.