Struct k8s_openapi::v1_10::api::extensions::v1beta1::HostPortRange [−][src]
Host Port Range 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
impl Clone for HostPortRange
[src]
impl Clone for HostPortRange
fn clone(&self) -> HostPortRange
[src]
fn clone(&self) -> HostPortRange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for HostPortRange
[src]
impl Debug for HostPortRange
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for HostPortRange
[src]
impl Default for HostPortRange
fn default() -> HostPortRange
[src]
fn default() -> HostPortRange
Returns the "default value" for a type. Read more
impl PartialEq for HostPortRange
[src]
impl PartialEq for HostPortRange
fn eq(&self, other: &HostPortRange) -> bool
[src]
fn eq(&self, other: &HostPortRange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &HostPortRange) -> bool
[src]
fn ne(&self, other: &HostPortRange) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for HostPortRange
[src]
impl<'de> Deserialize<'de> for HostPortRange
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for HostPortRange
[src]
impl Serialize for HostPortRange
Auto Trait Implementations
impl Send for HostPortRange
impl Send for HostPortRange
impl Sync for HostPortRange
impl Sync for HostPortRange