Struct aws_sdk_athena::types::CapacityAssignment
source · #[non_exhaustive]pub struct CapacityAssignment {
pub work_group_names: Option<Vec<String>>,
}Expand description
A mapping between one or more workgroups and a capacity reservation.
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.work_group_names: Option<Vec<String>>The list of workgroup names for the capacity assignment.
Implementations§
source§impl CapacityAssignment
impl CapacityAssignment
sourcepub fn work_group_names(&self) -> &[String]
pub fn work_group_names(&self) -> &[String]
The list of workgroup names for the capacity assignment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .work_group_names.is_none().
source§impl CapacityAssignment
impl CapacityAssignment
sourcepub fn builder() -> CapacityAssignmentBuilder
pub fn builder() -> CapacityAssignmentBuilder
Creates a new builder-style object to manufacture CapacityAssignment.
Trait Implementations§
source§impl Clone for CapacityAssignment
impl Clone for CapacityAssignment
source§fn clone(&self) -> CapacityAssignment
fn clone(&self) -> CapacityAssignment
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 CapacityAssignment
impl Debug for CapacityAssignment
source§impl PartialEq for CapacityAssignment
impl PartialEq for CapacityAssignment
source§fn eq(&self, other: &CapacityAssignment) -> bool
fn eq(&self, other: &CapacityAssignment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CapacityAssignment
Auto Trait Implementations§
impl Freeze for CapacityAssignment
impl RefUnwindSafe for CapacityAssignment
impl Send for CapacityAssignment
impl Sync for CapacityAssignment
impl Unpin for CapacityAssignment
impl UnwindSafe for CapacityAssignment
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.