[][src]Struct paperclip::actix::web::ServiceConfig

pub struct ServiceConfig<S = Scope<ScopeEndpoint>> { /* fields omitted */ }

Wrapper for actix_web::web::ServiceConfig.

Methods

impl<T> ServiceConfig<Scope<T>> where
    T: ServiceFactory<Config = (), Request = ServiceRequest, Response = ServiceResponse<Body>, Error = Error, InitError = ()>, 
[src]

pub fn route(
    &mut self,
    path: &str,
    route: Route
) -> &mut ServiceConfig<Scope<T>>
[src]

pub fn service<F>(&mut self, factory: F) -> &mut ServiceConfig<Scope<T>> where
    F: Mountable + HttpServiceFactory + 'static, 
[src]

pub fn external_resource<N, U>(
    &mut self,
    name: N,
    url: U
) -> &mut ServiceConfig<Scope<T>> where
    N: AsRef<str>,
    U: AsRef<str>, 
[src]

Proxy for actix_web::web::ServiceConfig::external_resource.

NOTE: This doesn't affect spec generation.

Trait Implementations

impl<T> Mountable for ServiceConfig<T>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for ServiceConfig<S> where
    S: RefUnwindSafe

impl<S> Send for ServiceConfig<S> where
    S: Send

impl<S> Sync for ServiceConfig<S> where
    S: Sync

impl<S> Unpin for ServiceConfig<S> where
    S: Unpin

impl<S> UnwindSafe for ServiceConfig<S> where
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,