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
sourceimpl<'a, T: Debug + TranslationsManager> Debug for ExportProps<'a, T>
impl<'a, T: Debug + TranslationsManager> Debug for ExportProps<'a, T>
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for ExportProps<'a, T>
impl<'a, T> !Send for ExportProps<'a, T>
impl<'a, T> !Sync for ExportProps<'a, T>
impl<'a, T> Unpin for ExportProps<'a, T>
impl<'a, T> !UnwindSafe for ExportProps<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more