pub struct PerseusRouterProps {
pub error_pages: ErrorPages<DomNode>,
pub locales: Locales,
}
Expand description
The properties that the router takes.
Fields
error_pages: ErrorPages<DomNode>
The error pages the app is using.
locales: Locales
The locales settings the app is using.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PerseusRouterProps
impl Send for PerseusRouterProps
impl Sync for PerseusRouterProps
impl Unpin for PerseusRouterProps
impl !UnwindSafe for PerseusRouterProps
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