pub enum QueryEncoding {
Rfc1738,
Rfc3986,
}Expand description
http_build_query()’s $encoding_type.
Variants§
Rfc1738
PHP_QUERY_RFC1738 (1, the default): spaces as + (urlencode).
Rfc3986
PHP_QUERY_RFC3986 (2): spaces as %20 (rawurlencode).
Implementations§
Trait Implementations§
Source§impl Clone for QueryEncoding
impl Clone for QueryEncoding
impl Copy for QueryEncoding
Source§impl Debug for QueryEncoding
impl Debug for QueryEncoding
Source§impl Default for QueryEncoding
impl Default for QueryEncoding
impl Eq for QueryEncoding
Source§impl PartialEq for QueryEncoding
impl PartialEq for QueryEncoding
impl StructuralPartialEq for QueryEncoding
Auto Trait Implementations§
impl Forget for QueryEncoding
impl Freeze for QueryEncoding
impl Move for QueryEncoding
impl RefUnwindSafe for QueryEncoding
impl Send for QueryEncoding
impl Sync for QueryEncoding
impl Unpin for QueryEncoding
impl UnsafeUnpin for QueryEncoding
impl UnwindSafe for QueryEncoding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.