pub struct HostPort {
pub host: String,
pub port: u16,
}Fields§
§host: String§port: u16Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HostPort
impl RefUnwindSafe for HostPort
impl Send for HostPort
impl Sync for HostPort
impl Unpin for HostPort
impl UnsafeUnpin for HostPort
impl UnwindSafe for HostPort
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