Modules§
Macros§
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.
- Inertia
Config - A configuration struct for initializing Inertia. You can directly fill the struct or use
the builder fluent syntax by calling
InertiaConfig::builder()
, and finallyInertiaConfig::build()
. - Inertia
Config Builder - Inertia
Page - Response containing a valid Inertia Payload that will be used by the Inertia client to render the components.
- InertiaSSR
Page - Inertia Full Page response to be rendered inside the root template on the first request or on a full visit request.
- Inertia
Session ToReflash - Inertia
Temporary Session InertiaTemporarySession
struct contains data that InertiaMiddleware will try to extract from the request and merge with shared props.- SsrClient
- View
Data - View Data is a struct containing props to be used by the root template.
Enums§
Traits§
- Inertia
Facade - Inertia
Service - 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.
- Into
Inertia Error - Into
Inertia Prop Result