pub struct Routing {
pub routes: &'static [Route],
pub required_parts: &'static [Part],
}Expand description
How a generated action’s flat input maps onto its request.
Fields§
§routes: &'static [Route]Where each field goes.
required_parts: &'static [Part]Object parts the action requires, sent as {} when no field sets them.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Routing
impl Freeze for Routing
impl Move for Routing
impl RefUnwindSafe for Routing
impl Send for Routing
impl Sync for Routing
impl Unpin for Routing
impl UnsafeUnpin for Routing
impl UnwindSafe for Routing
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