Struct k8s_openapi::v1_11::api::extensions::v1beta1::HostPortRange[][src]

pub struct HostPortRange {
    pub max: i32,
    pub min: i32,
}

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 is the end of the range, inclusive.

min is the start of the range, inclusive.

Trait Implementations

impl Clone for HostPortRange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HostPortRange
[src]

Formats the value using the given formatter. Read more

impl Default for HostPortRange
[src]

Returns the "default value" for a type. Read more

impl PartialEq for HostPortRange
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for HostPortRange
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for HostPortRange
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations