pub struct NewRoute {
pub module: String,
pub area: String,
pub method: String,
pub path: String,
pub handler: String,
pub screen: Option<String>,
pub fields: Option<Vec<String>>,
pub read_model: Option<String>,
pub title: Option<String>,
pub back: Option<String>,
}Fields§
§module: String§area: String§method: String§path: String§handler: String§screen: Option<String>§fields: Option<Vec<String>>The aggregate’s fields a get’s read model reads; those a page may show when None.
read_model: Option<String>The type a get answers; named after the handler when None.
title: Option<String>The page’s heading and tab title; humanized from the screen’s name when None.
back: Option<String>A get page of the area without parameters to link back to, or none; found when None.
Auto Trait Implementations§
impl Forget for NewRoute
impl Freeze for NewRoute
impl RefUnwindSafe for NewRoute
impl Send for NewRoute
impl Sync for NewRoute
impl Unpin for NewRoute
impl UnsafeUnpin for NewRoute
impl UnwindSafe for NewRoute
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more