#[non_exhaustive]pub struct ZoneDistributionConfig {
pub zone: String,
pub mode: ZoneDistributionMode,
/* private fields */
}Expand description
Zone distribution configuration for allocation of instance 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.zone: StringOptional. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.
mode: ZoneDistributionModeOptional. Current zone distribution mode. Defaults to MULTI_ZONE.
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