#[non_exhaustive]pub struct Extract<'a, 'b, P, R> {
pub prepared: P,
pub name: &'b str,
pub request: &'b mut Option<R>,
pub params: &'a PathParams,
pub state: &'a State,
pub resources: &'a Resources,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.prepared: P§name: &'b str§request: &'b mut Option<R>§params: &'a PathParams§state: &'a State§resources: &'a ResourcesImplementations§
Auto Trait Implementations§
impl<'a, 'b, P, R> Freeze for Extract<'a, 'b, P, R>where
P: Freeze,
impl<'a, 'b, P, R> !RefUnwindSafe for Extract<'a, 'b, P, R>
impl<'a, 'b, P, R> !Send for Extract<'a, 'b, P, R>
impl<'a, 'b, P, R> !Sync for Extract<'a, 'b, P, R>
impl<'a, 'b, P, R> Unpin for Extract<'a, 'b, P, R>where
P: Unpin,
impl<'a, 'b, P, R> !UnwindSafe for Extract<'a, 'b, P, R>
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