Struct k8s_openapi::v1_12::api::extensions::v1beta1::HostPortRange
source · Expand description
HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.
Fields§
§max: i32
max is the end of the range, inclusive.
min: i32
min is the start of the range, inclusive.
Trait Implementations§
source§impl Clone for HostPortRange
impl Clone for HostPortRange
source§fn clone(&self) -> HostPortRange
fn clone(&self) -> HostPortRange
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 HostPortRange
impl Debug for HostPortRange
source§impl Default for HostPortRange
impl Default for HostPortRange
source§fn default() -> HostPortRange
fn default() -> HostPortRange
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HostPortRange
impl<'de> Deserialize<'de> for HostPortRange
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