pub struct KeyValueMap { /* private fields */ }
Expand description
Base struct for Request params and cookies. Keys are case-sensitive.
Implementations§
Source§impl KeyValueMap
impl KeyValueMap
Sourcepub fn new() -> KeyValueMap
pub fn new() -> KeyValueMap
Constructor
Sourcepub fn contains_key(&self, key: &str) -> bool
pub fn contains_key(&self, key: &str) -> bool
Checks the map contains a value with key
Sourcepub fn iter(&self) -> KeyValueIter<'_> ⓘ
pub fn iter(&self) -> KeyValueIter<'_> ⓘ
Generates an interator to (key, value)
Auto Trait Implementations§
impl Freeze for KeyValueMap
impl RefUnwindSafe for KeyValueMap
impl Send for KeyValueMap
impl Sync for KeyValueMap
impl Unpin for KeyValueMap
impl UnwindSafe for KeyValueMap
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