Struct k8s_openapi::api::policy::v1beta1::HostPortRange [−][src]
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.
Fields
max: i32
max is the end of the range, inclusive.
min: i32
min is the start of the range, inclusive.
Trait Implementations
Returns the “default value” for a type. Read more
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 HostPortRange
impl Send for HostPortRange
impl Sync for HostPortRange
impl Unpin for HostPortRange
impl UnwindSafe for HostPortRange
Blanket Implementations
Mutably borrows from an owned value. Read more