#[non_exhaustive]pub struct ListWorkGroupsOutput {
pub work_groups: Option<Vec<WorkGroupSummary>>,
pub next_token: Option<String>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.work_groups: Option<Vec<WorkGroupSummary>>A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for each workgroup.
next_token: Option<String>A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
Implementations§
Source§impl ListWorkGroupsOutput
impl ListWorkGroupsOutput
Sourcepub fn work_groups(&self) -> &[WorkGroupSummary]
pub fn work_groups(&self) -> &[WorkGroupSummary]
A list of WorkGroupSummary objects that include the names, descriptions, creation times, and states for each workgroup.
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_groups.is_none().
Sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
Source§impl ListWorkGroupsOutput
impl ListWorkGroupsOutput
Sourcepub fn builder() -> ListWorkGroupsOutputBuilder
pub fn builder() -> ListWorkGroupsOutputBuilder
Creates a new builder-style object to manufacture ListWorkGroupsOutput.
Trait Implementations§
Source§impl Clone for ListWorkGroupsOutput
impl Clone for ListWorkGroupsOutput
Source§fn clone(&self) -> ListWorkGroupsOutput
fn clone(&self) -> ListWorkGroupsOutput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListWorkGroupsOutput
impl Debug for ListWorkGroupsOutput
Source§impl PartialEq for ListWorkGroupsOutput
impl PartialEq for ListWorkGroupsOutput
Source§impl RequestId for ListWorkGroupsOutput
impl RequestId for ListWorkGroupsOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for ListWorkGroupsOutput
Auto Trait Implementations§
impl Freeze for ListWorkGroupsOutput
impl RefUnwindSafe for ListWorkGroupsOutput
impl Send for ListWorkGroupsOutput
impl Sync for ListWorkGroupsOutput
impl Unpin for ListWorkGroupsOutput
impl UnsafeUnpin for ListWorkGroupsOutput
impl UnwindSafe for ListWorkGroupsOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more