pub struct Hostname;Expand description
A hostname: no path, port or protocol, and at most 253 characters.
PHP: new Hostname().
Trait Implementations§
impl Copy for Hostname
impl Eq for Hostname
impl StructuralPartialEq for Hostname
Auto Trait Implementations§
impl Forget for Hostname
impl Freeze for Hostname
impl Move for Hostname
impl RefUnwindSafe for Hostname
impl Send for Hostname
impl Sync for Hostname
impl Unpin for Hostname
impl UnsafeUnpin for Hostname
impl UnwindSafe for Hostname
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.