#[non_exhaustive]pub struct ConfigData {
pub available_external_lb_pools_ipv4: Vec<String>,
pub available_external_lb_pools_ipv6: Vec<String>,
/* private fields */
}Expand description
Config data holds all the config related data for the zone.
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.available_external_lb_pools_ipv4: Vec<String>list of available v4 ip pools for external loadbalancer
available_external_lb_pools_ipv6: Vec<String>list of available v6 ip pools for external loadbalancer
Implementations§
Source§impl ConfigData
impl ConfigData
pub fn new() -> Self
Sourcepub fn set_available_external_lb_pools_ipv4<T, V>(self, v: T) -> Self
pub fn set_available_external_lb_pools_ipv4<T, V>(self, v: T) -> Self
Sets the value of available_external_lb_pools_ipv4.
Sourcepub fn set_available_external_lb_pools_ipv6<T, V>(self, v: T) -> Self
pub fn set_available_external_lb_pools_ipv6<T, V>(self, v: T) -> Self
Sets the value of available_external_lb_pools_ipv6.
Trait Implementations§
Source§impl Clone for ConfigData
impl Clone for ConfigData
Source§fn clone(&self) -> ConfigData
fn clone(&self) -> ConfigData
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 ConfigData
impl Debug for ConfigData
Source§impl Default for ConfigData
impl Default for ConfigData
Source§fn default() -> ConfigData
fn default() -> ConfigData
Returns the “default value” for a type. Read more
Source§impl PartialEq for ConfigData
impl PartialEq for ConfigData
impl StructuralPartialEq for ConfigData
Auto Trait Implementations§
impl Freeze for ConfigData
impl RefUnwindSafe for ConfigData
impl Send for ConfigData
impl Sync for ConfigData
impl Unpin for ConfigData
impl UnwindSafe for ConfigData
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