Struct k8s_openapi::api::networking::v1alpha1::ServiceCIDRSpec
source · pub struct ServiceCIDRSpec {
pub cidrs: Option<Vec<String>>,
}
Expand description
ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
Fields§
§cidrs: Option<Vec<String>>
CIDRs defines the IP blocks in CIDR notation (e.g. “192.168.0.0/24” or “2001:db8::/64”) from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
Trait Implementations§
source§impl Clone for ServiceCIDRSpec
impl Clone for ServiceCIDRSpec
source§fn clone(&self) -> ServiceCIDRSpec
fn clone(&self) -> ServiceCIDRSpec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ServiceCIDRSpec
impl Debug for ServiceCIDRSpec
source§impl DeepMerge for ServiceCIDRSpec
impl DeepMerge for ServiceCIDRSpec
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ServiceCIDRSpec
impl Default for ServiceCIDRSpec
source§fn default() -> ServiceCIDRSpec
fn default() -> ServiceCIDRSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceCIDRSpec
impl<'de> Deserialize<'de> for ServiceCIDRSpec
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ServiceCIDRSpec
impl PartialEq for ServiceCIDRSpec
source§fn eq(&self, other: &ServiceCIDRSpec) -> bool
fn eq(&self, other: &ServiceCIDRSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ServiceCIDRSpec
impl Serialize for ServiceCIDRSpec
impl StructuralPartialEq for ServiceCIDRSpec
Auto Trait Implementations§
impl Freeze for ServiceCIDRSpec
impl RefUnwindSafe for ServiceCIDRSpec
impl Send for ServiceCIDRSpec
impl Sync for ServiceCIDRSpec
impl Unpin for ServiceCIDRSpec
impl UnwindSafe for ServiceCIDRSpec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more