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 JsonSchema for ServiceCIDRSpec
impl JsonSchema for ServiceCIDRSpec
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§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