Struct docker_api::models::PortBinding
source · Expand description
PortBinding represents a binding between a host IP address and a host port.
Fields§
§host_ip: Option<String>
Host IP address that the container’s port is mapped to.
host_port: Option<String>
Host port number that the container’s port is mapped to.
Trait Implementations§
source§impl Clone for PortBinding
impl Clone for PortBinding
source§fn clone(&self) -> PortBinding
fn clone(&self) -> PortBinding
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PortBinding
impl Debug for PortBinding
source§impl<'de> Deserialize<'de> for PortBinding
impl<'de> Deserialize<'de> for PortBinding
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<PortBinding, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<PortBinding, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<PortBinding> for PortBinding
impl PartialEq<PortBinding> for PortBinding
source§fn eq(&self, other: &PortBinding) -> bool
fn eq(&self, other: &PortBinding) -> bool
source§impl Serialize for PortBinding
impl Serialize for PortBinding
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more