pub struct HostSpec {
pub host: Host,
pub port: Option<u16>,
}
Fields§
§host: Host
§port: Option<u16>
Trait Implementations§
impl Eq for HostSpec
impl StructuralPartialEq for HostSpec
Auto Trait Implementations§
impl Freeze for HostSpec
impl RefUnwindSafe for HostSpec
impl Send for HostSpec
impl Sync for HostSpec
impl Unpin for HostSpec
impl UnwindSafe for HostSpec
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