Struct bollard_stubs::models::Port
source · pub struct Port {
pub ip: Option<String>,
pub private_port: i64,
pub public_port: Option<i64>,
pub typ: Option<PortTypeEnum>,
}
Expand description
An open port on a container
Fields§
§ip: Option<String>
Host IP address that the container’s port is mapped to
private_port: i64
Port on the container
public_port: Option<i64>
Port exposed on the host
typ: Option<PortTypeEnum>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Port
impl<'de> Deserialize<'de> for Port
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