Struct k8s_openapi::v1_10::api::extensions::v1beta1::IPBlock [−][src]
DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
Fields
cidr: String
CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
except: Option<Vec<String>>
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range
Trait Implementations
impl Clone for IPBlock[src]
impl Clone for IPBlockfn clone(&self) -> IPBlock[src]
fn clone(&self) -> IPBlockReturns 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)Performs copy-assignment from source. Read more
impl Debug for IPBlock[src]
impl Debug for IPBlockfn 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 IPBlock[src]
impl Default for IPBlockimpl PartialEq for IPBlock[src]
impl PartialEq for IPBlockfn eq(&self, other: &IPBlock) -> bool[src]
fn eq(&self, other: &IPBlock) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &IPBlock) -> bool[src]
fn ne(&self, other: &IPBlock) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for IPBlock[src]
impl<'de> Deserialize<'de> for IPBlockfn 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 IPBlock[src]
impl Serialize for IPBlock