pub struct PrePath {
pub scheme_len: usize,
pub host_len: usize,
pub ip: Option<IPAddress>,
pub port: Option<u16>,
pub port_len: usize,
}Expand description
The parsing data for a web-based URL before the path.
Fields§
§scheme_len: usize§host_len: usize§ip: Option<IPAddress>§port: Option<u16>§port_len: usizeImplementations§
Trait Implementations§
impl Copy for PrePath
impl Eq for PrePath
Source§impl Ord for PrePath
impl Ord for PrePath
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PrePath
impl PartialOrd for PrePath
impl StructuralPartialEq for PrePath
Auto Trait Implementations§
impl Freeze for PrePath
impl RefUnwindSafe for PrePath
impl Send for PrePath
impl Sync for PrePath
impl Unpin for PrePath
impl UnsafeUnpin for PrePath
impl UnwindSafe for PrePath
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