#[non_exhaustive]pub struct ControlPlaneEndpointsConfig {
pub dns_endpoint_config: Option<DNSEndpointConfig>,
pub ip_endpoints_config: Option<IPEndpointsConfig>,
}Expand description
Configuration for all of the cluster’s control plane endpoints.
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.dns_endpoint_config: Option<DNSEndpointConfig>DNS endpoint configuration.
ip_endpoints_config: Option<IPEndpointsConfig>IP endpoints configuration.
Implementations§
Source§impl ControlPlaneEndpointsConfig
impl ControlPlaneEndpointsConfig
Sourcepub fn set_dns_endpoint_config<T: Into<Option<DNSEndpointConfig>>>(
self,
v: T,
) -> Self
pub fn set_dns_endpoint_config<T: Into<Option<DNSEndpointConfig>>>( self, v: T, ) -> Self
Sets the value of dns_endpoint_config.
Sourcepub fn set_ip_endpoints_config<T: Into<Option<IPEndpointsConfig>>>(
self,
v: T,
) -> Self
pub fn set_ip_endpoints_config<T: Into<Option<IPEndpointsConfig>>>( self, v: T, ) -> Self
Sets the value of ip_endpoints_config.
Trait Implementations§
Source§impl Clone for ControlPlaneEndpointsConfig
impl Clone for ControlPlaneEndpointsConfig
Source§fn clone(&self) -> ControlPlaneEndpointsConfig
fn clone(&self) -> ControlPlaneEndpointsConfig
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 ControlPlaneEndpointsConfig
impl Debug for ControlPlaneEndpointsConfig
Source§impl Default for ControlPlaneEndpointsConfig
impl Default for ControlPlaneEndpointsConfig
Source§fn default() -> ControlPlaneEndpointsConfig
fn default() -> ControlPlaneEndpointsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ControlPlaneEndpointsConfigwhere
ControlPlaneEndpointsConfig: Default,
impl<'de> Deserialize<'de> for ControlPlaneEndpointsConfigwhere
ControlPlaneEndpointsConfig: 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
impl StructuralPartialEq for ControlPlaneEndpointsConfig
Auto Trait Implementations§
impl Freeze for ControlPlaneEndpointsConfig
impl RefUnwindSafe for ControlPlaneEndpointsConfig
impl Send for ControlPlaneEndpointsConfig
impl Sync for ControlPlaneEndpointsConfig
impl Unpin for ControlPlaneEndpointsConfig
impl UnwindSafe for ControlPlaneEndpointsConfig
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