pub struct QueryMap(/* private fields */);Implementations§
Source§impl QueryMap
impl QueryMap
pub fn new() -> Self
pub fn from_str(query_str: &str) -> Self
pub fn insert(&mut self, key: String, value: String)
pub fn merge(&mut self, querys: Self)
pub fn merge_str(&mut self, query_str: &str)
Sourcepub fn to_query_string(self) -> String
pub fn to_query_string(self) -> String
get query string. the empty keys will be skipped. key and value will be uri encode.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryMap
impl RefUnwindSafe for QueryMap
impl Send for QueryMap
impl Sync for QueryMap
impl Unpin for QueryMap
impl UnwindSafe for QueryMap
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