#[non_exhaustive]pub struct ZoneDistributionConfig {
pub mode: ZoneDistributionMode,
pub zone: String,
/* private fields */
}Expand description
Zone distribution config for allocation of cluster resources.
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.mode: ZoneDistributionModeOptional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.
zone: StringOptional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
Implementations§
Trait Implementations§
Source§impl Clone for ZoneDistributionConfig
impl Clone for ZoneDistributionConfig
Source§fn clone(&self) -> ZoneDistributionConfig
fn clone(&self) -> ZoneDistributionConfig
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 ZoneDistributionConfig
impl Debug for ZoneDistributionConfig
Source§impl Default for ZoneDistributionConfig
impl Default for ZoneDistributionConfig
Source§fn default() -> ZoneDistributionConfig
fn default() -> ZoneDistributionConfig
Returns the “default value” for a type. Read more
Source§impl Message for ZoneDistributionConfig
impl Message for ZoneDistributionConfig
Source§impl PartialEq for ZoneDistributionConfig
impl PartialEq for ZoneDistributionConfig
impl StructuralPartialEq for ZoneDistributionConfig
Auto Trait Implementations§
impl Freeze for ZoneDistributionConfig
impl RefUnwindSafe for ZoneDistributionConfig
impl Send for ZoneDistributionConfig
impl Sync for ZoneDistributionConfig
impl Unpin for ZoneDistributionConfig
impl UnwindSafe for ZoneDistributionConfig
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