pub struct RouteDef {
pub method: Method,
pub path: &'static str,
pub rewrite: RewriteSpec,
pub policy: Option<&'static str>,
pub pipeline: Option<PipelineFn>,
}Fields§
§method: Method§path: &'static str§rewrite: RewriteSpec§policy: Option<&'static str>§pipeline: Option<PipelineFn>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RouteDef
impl RefUnwindSafe for RouteDef
impl Send for RouteDef
impl Sync for RouteDef
impl Unpin for RouteDef
impl UnsafeUnpin for RouteDef
impl UnwindSafe for RouteDef
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