pub struct Parts {
pub scheme: Option<ByteString>,
pub authority: Option<ByteString>,
pub path_and_query: ByteString,
pub fragment: Option<ByteString>,
}Expand description
Percent-encoded URL parts.
Created by Url::into_parts; Url::from_parts validates and joins
the parts back.
Fields§
§scheme: Option<ByteString>Scheme without the :.
Authority without the leading //.
path_and_query: ByteStringPath and query.
fragment: Option<ByteString>Fragment without the #.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parts
impl RefUnwindSafe for Parts
impl Send for Parts
impl Sync for Parts
impl Unpin for Parts
impl UnsafeUnpin for Parts
impl UnwindSafe for Parts
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