Struct aws_sdk_ec2::types::TargetGroupsConfig
source · #[non_exhaustive]pub struct TargetGroupsConfig {
pub target_groups: Option<Vec<TargetGroup>>,
}
Expand description
Describes the target groups to attach to a Spot Fleet. Spot Fleet registers the running Spot Instances with these target groups.
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.target_groups: Option<Vec<TargetGroup>>
One or more target groups.
Implementations§
source§impl TargetGroupsConfig
impl TargetGroupsConfig
sourcepub fn target_groups(&self) -> Option<&[TargetGroup]>
pub fn target_groups(&self) -> Option<&[TargetGroup]>
One or more target groups.
source§impl TargetGroupsConfig
impl TargetGroupsConfig
sourcepub fn builder() -> TargetGroupsConfigBuilder
pub fn builder() -> TargetGroupsConfigBuilder
Creates a new builder-style object to manufacture TargetGroupsConfig
.
Trait Implementations§
source§impl Clone for TargetGroupsConfig
impl Clone for TargetGroupsConfig
source§fn clone(&self) -> TargetGroupsConfig
fn clone(&self) -> TargetGroupsConfig
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 TargetGroupsConfig
impl Debug for TargetGroupsConfig
source§impl PartialEq<TargetGroupsConfig> for TargetGroupsConfig
impl PartialEq<TargetGroupsConfig> for TargetGroupsConfig
source§fn eq(&self, other: &TargetGroupsConfig) -> bool
fn eq(&self, other: &TargetGroupsConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TargetGroupsConfig
Auto Trait Implementations§
impl RefUnwindSafe for TargetGroupsConfig
impl Send for TargetGroupsConfig
impl Sync for TargetGroupsConfig
impl Unpin for TargetGroupsConfig
impl UnwindSafe for TargetGroupsConfig
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