Struct k8s_openapi::api::networking::v1beta1::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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)