pub struct PublishedPortKey {
pub host_bind: String,
pub host_port: u16,
pub protocol: PortProtocol,
}Expand description
Host endpoint identifying a published port independently of its guest destination.
Fields§
§host_bind: StringHost address to unpublish, such as 127.0.0.1.
host_port: u16Host-side port.
protocol: PortProtocolTransport protocol; defaults to TCP.
Trait Implementations§
Source§impl Clone for PublishedPortKey
impl Clone for PublishedPortKey
Source§impl Debug for PublishedPortKey
impl Debug for PublishedPortKey
Source§impl<'de> Deserialize<'de> for PublishedPortKey
impl<'de> Deserialize<'de> for PublishedPortKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PublishedPortKey
impl RefUnwindSafe for PublishedPortKey
impl Send for PublishedPortKey
impl Sync for PublishedPortKey
impl Unpin for PublishedPortKey
impl UnsafeUnpin for PublishedPortKey
impl UnwindSafe for PublishedPortKey
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