pub struct UrlParts {
pub scheme: String,
pub host: Option<String>,
pub port: Option<u16>,
pub path: String,
pub query: Option<String>,
pub fragment: Option<String>,
}Expand description
Lightweight URL parts extracted with simple string splitting.
Fields§
§scheme: String§host: Option<String>§port: Option<u16>§path: String§query: Option<String>§fragment: Option<String>Trait Implementations§
impl Eq for UrlParts
impl StructuralPartialEq for UrlParts
Auto Trait Implementations§
impl Freeze for UrlParts
impl RefUnwindSafe for UrlParts
impl Send for UrlParts
impl Sync for UrlParts
impl Unpin for UrlParts
impl UnsafeUnpin for UrlParts
impl UnwindSafe for UrlParts
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