#[non_exhaustive]pub struct AdditionalPodRangesConfig {
pub pod_range_names: Vec<String>,
pub pod_range_info: Vec<RangeInfo>,
}Expand description
AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pod_range_names: Vec<String>Name for pod secondary ipv4 range which has the actual range defined ahead.
pod_range_info: Vec<RangeInfo>Output only. Information for additional pod range.
Implementations§
Source§impl AdditionalPodRangesConfig
impl AdditionalPodRangesConfig
Sourcepub fn set_pod_range_names<T, V>(self, v: T) -> Self
pub fn set_pod_range_names<T, V>(self, v: T) -> Self
Sets the value of pod_range_names.
Sourcepub fn set_pod_range_info<T, V>(self, v: T) -> Self
pub fn set_pod_range_info<T, V>(self, v: T) -> Self
Sets the value of pod_range_info.
Trait Implementations§
Source§impl Clone for AdditionalPodRangesConfig
impl Clone for AdditionalPodRangesConfig
Source§fn clone(&self) -> AdditionalPodRangesConfig
fn clone(&self) -> AdditionalPodRangesConfig
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 AdditionalPodRangesConfig
impl Debug for AdditionalPodRangesConfig
Source§impl Default for AdditionalPodRangesConfig
impl Default for AdditionalPodRangesConfig
Source§fn default() -> AdditionalPodRangesConfig
fn default() -> AdditionalPodRangesConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdditionalPodRangesConfigwhere
AdditionalPodRangesConfig: Default,
impl<'de> Deserialize<'de> for AdditionalPodRangesConfigwhere
AdditionalPodRangesConfig: Default,
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 Message for AdditionalPodRangesConfig
impl Message for AdditionalPodRangesConfig
impl StructuralPartialEq for AdditionalPodRangesConfig
Auto Trait Implementations§
impl Freeze for AdditionalPodRangesConfig
impl RefUnwindSafe for AdditionalPodRangesConfig
impl Send for AdditionalPodRangesConfig
impl Sync for AdditionalPodRangesConfig
impl Unpin for AdditionalPodRangesConfig
impl UnwindSafe for AdditionalPodRangesConfig
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