pub enum EncodeSet {
Controls,
NonAlphanumeric,
}Expand description
The set of characters that should be percent-encoded.
Variants§
Controls
Only ASCII control characters (0x00-0x1F) and 0x7F. Matches the
CONTROLS set from percent-encoding.
NonAlphanumeric
Everything except ASCII alphanumeric characters. Matches the
NON_ALPHANUMERIC set from percent-encoding.
Trait Implementations§
impl Copy for EncodeSet
impl Eq for EncodeSet
impl StructuralPartialEq for EncodeSet
Auto Trait Implementations§
impl Freeze for EncodeSet
impl RefUnwindSafe for EncodeSet
impl Send for EncodeSet
impl Sync for EncodeSet
impl Unpin for EncodeSet
impl UnsafeUnpin for EncodeSet
impl UnwindSafe for EncodeSet
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<T> DebugPrint for Twhere
T: Debug,
impl<T> DebugPrint for Twhere
T: Debug,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more