pub struct QueryParam<'a> {
pub name: &'a str,
pub val: &'a str,
}
Expand description
A URL query parameter
Fields§
§name: &'a str
The name of the query parameter
val: &'a str
The value of the query parameter
Implementations§
Trait Implementations§
Source§impl<'a> Clone for QueryParam<'a>
impl<'a> Clone for QueryParam<'a>
Source§fn clone(&self) -> QueryParam<'a>
fn clone(&self) -> QueryParam<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for QueryParam<'a>
impl<'a> Debug for QueryParam<'a>
Source§impl<'a> Display for QueryParam<'a>
impl<'a> Display for QueryParam<'a>
Source§impl<'a> Hash for QueryParam<'a>
impl<'a> Hash for QueryParam<'a>
Source§impl<'a> PartialEq for QueryParam<'a>
impl<'a> PartialEq for QueryParam<'a>
impl<'a> Copy for QueryParam<'a>
impl<'a> Eq for QueryParam<'a>
impl<'a> StructuralPartialEq for QueryParam<'a>
Auto Trait Implementations§
impl<'a> Freeze for QueryParam<'a>
impl<'a> RefUnwindSafe for QueryParam<'a>
impl<'a> Send for QueryParam<'a>
impl<'a> Sync for QueryParam<'a>
impl<'a> Unpin for QueryParam<'a>
impl<'a> UnwindSafe for QueryParam<'a>
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