Crate inertia_rust

Source

Modules§

node_process
template_resolvers
test

Macros§

hashmap
prop_resolver

Structs§

Component
The javascript component name.
Inertia
Inertia struct must be a singleton and initialized at the application bootstrap. It is supposed to last during the whole application runtime.
InertiaConfig
A configuration struct for initializing Inertia. You can directly fill the struct or use the builder fluent syntax by calling InertiaConfig::builder(), and finally InertiaConfig::build().
InertiaConfigBuilder
InertiaPage
Response containing a valid Inertia Payload that will be used by the Inertia client to render the components.
InertiaSSRPage
Inertia Full Page response to be rendered inside the root template on the first request or on a full visit request.
InertiaSessionToReflash
InertiaTemporarySession
InertiaTemporarySession struct contains data that InertiaMiddleware will try to extract from the request and merge with shared props.
SsrClient
ViewData
View Data is a struct containing props to be used by the root template.

Enums§

InertiaError
InertiaProp
InertiaVersion

Traits§

InertiaFacade
InertiaService
InertiaService trait define a method to be implemented to Inertia struct that allows to generate simple routes directly, without needing to create a handler function.
IntoInertiaError
IntoInertiaPropResult

Type Aliases§

InertiaProps