pub struct Param<'a> { /* private fields */ }
Expand description
A web-based URL query parameter.
§Validation
Both the name and value of a query parameter may be the empty string. The value string may also be absent altogether which signifies a missing ‘=’ in the query parameter string.
Query parameter names & values can contain any US-ASCII letters, numbers, or punctuation chars excluding ‘&’ and ‘#’ since these chars denote the end of the parameter or query in the URL. Names cannot contain the ‘=’ char since this denotes the end of the query parameter name.
Implementations§
Source§impl<'a> Param<'a>
Construction
impl<'a> Param<'a>
Construction
Trait Implementations§
Source§impl<'a> Ord for Param<'a>
impl<'a> Ord for Param<'a>
Source§impl<'a> PartialOrd for Param<'a>
impl<'a> PartialOrd for Param<'a>
impl<'a> Copy for Param<'a>
impl<'a> Eq for Param<'a>
impl<'a> StructuralPartialEq for Param<'a>
Auto Trait Implementations§
impl<'a> Freeze for Param<'a>
impl<'a> RefUnwindSafe for Param<'a>
impl<'a> Send for Param<'a>
impl<'a> Sync for Param<'a>
impl<'a> Unpin for Param<'a>
impl<'a> UnwindSafe for Param<'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