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 HostPortRangefn clone(&self) -> HostPortRange[src]
fn clone(&self) -> HostPortRangeReturns 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 HostPortRangefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for HostPortRange[src]
impl Default for HostPortRangefn default() -> HostPortRange[src]
fn default() -> HostPortRangeReturns the "default value" for a type. Read more
impl PartialEq for HostPortRange[src]
impl PartialEq for HostPortRangefn eq(&self, other: &HostPortRange) -> bool[src]
fn eq(&self, other: &HostPortRange) -> boolThis 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) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for HostPortRange[src]
impl<'de> Deserialize<'de> for HostPortRangefn 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 HostPortRangeAuto Trait Implementations
impl Send for HostPortRange
impl Send for HostPortRangeimpl Sync for HostPortRange
impl Sync for HostPortRange