Struct viz::prelude::Route[][src]

pub struct Route { /* fields omitted */ }
Expand description

Route

Implementations

Creates new Route Instance

Sets a path

Sets a name

Sets a inherit

Appends a middleware

Appends a route, handle HTTP verb

Appends a route, handle HTTP verb GET

Appends a route, handle HTTP verb POST

Appends a route, handle HTTP verb PUT

Appends a route, handle HTTP verb DELETE

Appends a route, handle HTTP verb OPTIONS

Appends a route, handle HTTP verb CONNECT

Appends a route, handle HTTP verb PATCH

Appends a route, handle HTTP verb TRACE

Appends a route, handle any HTTP verbs

Appends a route, only handle HTTP verbs

Appends a route, except handle verbs

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more