pub struct HttpUrl(/* private fields */);Expand description
HTTP or HTTPS URL with scheme validation.
Must start with http:// or https:// and have a non-empty host.
Implementations§
Trait Implementations§
Source§impl Ord for HttpUrl
impl Ord for HttpUrl
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 HttpUrl
impl PartialOrd for HttpUrl
impl Eq for HttpUrl
impl StructuralPartialEq for HttpUrl
Auto Trait Implementations§
impl Freeze for HttpUrl
impl RefUnwindSafe for HttpUrl
impl Send for HttpUrl
impl Sync for HttpUrl
impl Unpin for HttpUrl
impl UnsafeUnpin for HttpUrl
impl UnwindSafe for HttpUrl
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