pub enum UriComponent {
Username,
Password,
Query,
Path,
Fragment,
}Expand description
A URI component whose redaction was controlled by the policy.
Variants§
Username
The userinfo username before the first raw colon.
Password
The userinfo password after the first raw colon.
Query
One or more query values classified by the core field policy.
Path
The URI path when path redaction is enabled.
Fragment
The URI fragment when fragment redaction is enabled.
Trait Implementations§
Source§impl Clone for UriComponent
impl Clone for UriComponent
Source§fn clone(&self) -> UriComponent
fn clone(&self) -> UriComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UriComponent
Source§impl Debug for UriComponent
impl Debug for UriComponent
impl Eq for UriComponent
Source§impl Hash for UriComponent
impl Hash for UriComponent
Source§impl PartialEq for UriComponent
impl PartialEq for UriComponent
impl StructuralPartialEq for UriComponent
Auto Trait Implementations§
impl Freeze for UriComponent
impl RefUnwindSafe for UriComponent
impl Send for UriComponent
impl Sync for UriComponent
impl Unpin for UriComponent
impl UnsafeUnpin for UriComponent
impl UnwindSafe for UriComponent
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