#[non_exhaustive]pub struct ListContextsOutput {
pub context_summaries: Option<Vec<ContextSummary>>,
pub next_token: Option<String>,
/* private fields */
}
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.context_summaries: Option<Vec<ContextSummary>>
A list of contexts and their properties.
next_token: Option<String>
A token for getting the next set of contexts, if there are any.
Implementations§
source§impl ListContextsOutput
impl ListContextsOutput
sourcepub fn context_summaries(&self) -> &[ContextSummary]
pub fn context_summaries(&self) -> &[ContextSummary]
A list of contexts and their properties.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .context_summaries.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token for getting the next set of contexts, if there are any.
source§impl ListContextsOutput
impl ListContextsOutput
sourcepub fn builder() -> ListContextsOutputBuilder
pub fn builder() -> ListContextsOutputBuilder
Creates a new builder-style object to manufacture ListContextsOutput
.
Trait Implementations§
source§impl Clone for ListContextsOutput
impl Clone for ListContextsOutput
source§fn clone(&self) -> ListContextsOutput
fn clone(&self) -> ListContextsOutput
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 ListContextsOutput
impl Debug for ListContextsOutput
source§impl PartialEq for ListContextsOutput
impl PartialEq for ListContextsOutput
source§fn eq(&self, other: &ListContextsOutput) -> bool
fn eq(&self, other: &ListContextsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListContextsOutput
impl RequestId for ListContextsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for ListContextsOutput
Auto Trait Implementations§
impl RefUnwindSafe for ListContextsOutput
impl Send for ListContextsOutput
impl Sync for ListContextsOutput
impl Unpin for ListContextsOutput
impl UnwindSafe for ListContextsOutput
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.