pub struct FixtureRoute {
pub method: &'static str,
pub path: &'static str,
pub handler_name: Option<&'static str>,
}Expand description
Sample route metadata for output component tests.
Fields§
§method: &'static strHTTP method.
path: &'static strRoute path.
handler_name: Option<&'static str>Optional handler name.
Trait Implementations§
Source§impl Clone for FixtureRoute
impl Clone for FixtureRoute
Source§fn clone(&self) -> FixtureRoute
fn clone(&self) -> FixtureRoute
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FixtureRoute
impl RefUnwindSafe for FixtureRoute
impl Send for FixtureRoute
impl Sync for FixtureRoute
impl Unpin for FixtureRoute
impl UnwindSafe for FixtureRoute
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