#[non_exhaustive]pub struct ControlPlaneEndpointsConfig {
pub dns_endpoint_config: Option<DNSEndpointConfig>,
pub ip_endpoints_config: Option<IPEndpointsConfig>,
/* private fields */
}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
pub fn new() -> Self
Sourcepub fn set_dns_endpoint_config<T>(self, v: T) -> Selfwhere
T: Into<DNSEndpointConfig>,
pub fn set_dns_endpoint_config<T>(self, v: T) -> Selfwhere
T: Into<DNSEndpointConfig>,
Sets the value of dns_endpoint_config.
Sourcepub fn set_or_clear_dns_endpoint_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<DNSEndpointConfig>,
pub fn set_or_clear_dns_endpoint_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<DNSEndpointConfig>,
Sets or clears the value of dns_endpoint_config.
Sourcepub fn set_ip_endpoints_config<T>(self, v: T) -> Selfwhere
T: Into<IPEndpointsConfig>,
pub fn set_ip_endpoints_config<T>(self, v: T) -> Selfwhere
T: Into<IPEndpointsConfig>,
Sets the value of ip_endpoints_config.
Sourcepub fn set_or_clear_ip_endpoints_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<IPEndpointsConfig>,
pub fn set_or_clear_ip_endpoints_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<IPEndpointsConfig>,
Sets or clears 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 duplicate 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
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