pub struct Form<T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T> From<Form<T>> for LieResponsewhere
T: Serialize,
impl<T> From<Form<T>> for LieResponsewhere
T: Serialize,
Source§fn from(form: Form<T>) -> LieResponse
fn from(form: Form<T>) -> LieResponse
Converts to this type from the input type.
Source§impl<T> FromRequest for Form<T>where
T: DeserializeOwned,
impl<T> FromRequest for Form<T>where
T: DeserializeOwned,
type Rejection = FormRejection
fn from_request<'life0, 'async_trait>(
req: &'life0 mut RequestParts,
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Rejection>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<T> Freeze for Form<T>where
T: Freeze,
impl<T> RefUnwindSafe for Form<T>where
T: RefUnwindSafe,
impl<T> Send for Form<T>where
T: Send,
impl<T> Sync for Form<T>where
T: Sync,
impl<T> Unpin for Form<T>where
T: Unpin,
impl<T> UnwindSafe for Form<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