Struct podman_api_stubs::models::PortMapping [−][src]
pub struct PortMapping {
pub container_port: Option<i64>,
pub host_ip: Option<String>,
pub host_port: Option<i64>,
pub protocol: Option<String>,
pub range: Option<i64>,
}
Fields
container_port: Option<i64>
host_ip: Option<String>
host_port: Option<i64>
protocol: Option<String>
range: Option<i64>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PortMapping
impl Send for PortMapping
impl Sync for PortMapping
impl Unpin for PortMapping
impl UnwindSafe for PortMapping
Blanket Implementations
Mutably borrows from an owned value. Read more