pub struct Origin { /* private fields */ }Expand description
A scheme://host origin, compared without regard to ASCII case.
http’s own scheme and authority, which compare that way already and drop
straight into a Uri. Not url::Origin: per the URL standard a non-special
scheme has an opaque origin, and url gives every opaque origin a fresh
counter value, so topcoat://localhost does not compare equal to itself.
Implementations§
Trait Implementations§
impl Eq for Origin
impl StructuralPartialEq for Origin
Auto Trait Implementations§
impl !Freeze for Origin
impl RefUnwindSafe for Origin
impl Send for Origin
impl Sync for Origin
impl Unpin for Origin
impl UnsafeUnpin for Origin
impl UnwindSafe for Origin
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