pub struct Cookies(pub HashMap<String, String>);Expand description
Extracts all cookies as a HashMap.
Tuple Fields§
§0: HashMap<String, String>Trait Implementations§
Source§impl FromRequest for Cookies
impl FromRequest for Cookies
Source§type Error = ExtractError
type Error = ExtractError
The error type returned when extraction fails.
Auto Trait Implementations§
impl Freeze for Cookies
impl RefUnwindSafe for Cookies
impl Send for Cookies
impl Sync for Cookies
impl Unpin for Cookies
impl UnwindSafe for Cookies
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