[][src]Struct rabbithole_endpoint_actix::ActixSettings

pub struct ActixSettings<T> where
    T: 'static + Fetching
{ pub path: String, pub uri: Url, pub jsonapi: JsonApiSettings, // some fields omitted }

Fields

path: Stringuri: Urljsonapi: JsonApiSettings

Methods

impl<T> ActixSettings<T> where
    T: 'static + Fetching + Send + Sync,
    T::Item: Send + Sync
[src]

pub fn fetch_collection(
    self,
    req: HttpRequest
) -> impl Future<Item = HttpResponse, Error = Error>
[src]

pub fn fetch_single(
    self,
    param: Path<String>,
    req: HttpRequest
) -> impl Future<Item = HttpResponse, Error = Error>
[src]

pub fn fetch_relationship(
    self,
    param: Path<(String, String)>,
    req: HttpRequest
) -> impl Future<Item = HttpResponse, Error = Error>
[src]

Trait Implementations

impl<T: Clone> Clone for ActixSettings<T> where
    T: 'static + Fetching
[src]

impl<T: Debug> Debug for ActixSettings<T> where
    T: 'static + Fetching
[src]

impl<T> TryFrom<ActixSettingsModel> for ActixSettings<T> where
    T: 'static + Fetching + Send + Sync,
    T::Item: Send + Sync
[src]

type Error = ParseError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<T> Send for ActixSettings<T> where
    T: Send

impl<T> Sync for ActixSettings<T> where
    T: Sync

impl<T> Unpin for ActixSettings<T> where
    T: Unpin

impl<T> UnwindSafe for ActixSettings<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for ActixSettings<T> where
    T: RefUnwindSafe

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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