pub struct Config<T>(pub T)
where
    T: DeserializeOwned + Configurable;Tuple Fields§
§0: TTrait Implementations§
Source§impl<T> Deref for Config<T>where
    T: DeserializeOwned + Configurable,
 
impl<T> Deref for Config<T>where
    T: DeserializeOwned + Configurable,
Source§impl<T> DerefMut for Config<T>where
    T: DeserializeOwned + Configurable,
 
impl<T> DerefMut for Config<T>where
    T: DeserializeOwned + Configurable,
Source§impl<T, S> FromRequestParts<S> for Config<T>where
    T: DeserializeOwned + Configurable,
 
impl<T, S> FromRequestParts<S> for Config<T>where
    T: DeserializeOwned + Configurable,
Auto Trait Implementations§
impl<T> Freeze for Config<T>where
    T: Freeze,
impl<T> RefUnwindSafe for Config<T>where
    T: RefUnwindSafe,
impl<T> Send for Config<T>where
    T: Send,
impl<T> Sync for Config<T>where
    T: Sync,
impl<T> Unpin for Config<T>where
    T: Unpin,
impl<T> UnwindSafe for Config<T>where
    T: UnwindSafe,
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
Source§impl<S, T> FromRequest<S, ViaParts> for T
 
impl<S, T> FromRequest<S, ViaParts> for T
Source§type Rejection = <T as FromRequestParts<S>>::Rejection
 
type Rejection = <T as FromRequestParts<S>>::Rejection
If the extractor fails it’ll use this “rejection” type. A rejection is
a kind of error that can be converted into a response.