#[non_exhaustive]pub struct ListContextsInput {
pub source_uri: Option<String>,
pub context_type: Option<String>,
pub created_after: Option<DateTime>,
pub created_before: Option<DateTime>,
pub sort_by: Option<SortContextsBy>,
pub sort_order: Option<SortOrder>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.source_uri: Option<String>
A filter that returns only contexts with the specified source URI.
context_type: Option<String>
A filter that returns only contexts of the specified type.
created_after: Option<DateTime>
A filter that returns only contexts created on or after the specified time.
created_before: Option<DateTime>
A filter that returns only contexts created on or before the specified time.
sort_by: Option<SortContextsBy>
The property used to sort results. The default value is CreationTime
.
sort_order: Option<SortOrder>
The sort order. The default value is Descending
.
next_token: Option<String>
If the previous call to ListContexts
didn't return the full set of contexts, the call returns a token for getting the next set of contexts.
max_results: Option<i32>
The maximum number of contexts to return in the response. The default value is 10.
Implementations§
source§impl ListContextsInput
impl ListContextsInput
sourcepub fn source_uri(&self) -> Option<&str>
pub fn source_uri(&self) -> Option<&str>
A filter that returns only contexts with the specified source URI.
sourcepub fn context_type(&self) -> Option<&str>
pub fn context_type(&self) -> Option<&str>
A filter that returns only contexts of the specified type.
sourcepub fn created_after(&self) -> Option<&DateTime>
pub fn created_after(&self) -> Option<&DateTime>
A filter that returns only contexts created on or after the specified time.
sourcepub fn created_before(&self) -> Option<&DateTime>
pub fn created_before(&self) -> Option<&DateTime>
A filter that returns only contexts created on or before the specified time.
sourcepub fn sort_by(&self) -> Option<&SortContextsBy>
pub fn sort_by(&self) -> Option<&SortContextsBy>
The property used to sort results. The default value is CreationTime
.
sourcepub fn sort_order(&self) -> Option<&SortOrder>
pub fn sort_order(&self) -> Option<&SortOrder>
The sort order. The default value is Descending
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the previous call to ListContexts
didn't return the full set of contexts, the call returns a token for getting the next set of contexts.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of contexts to return in the response. The default value is 10.
source§impl ListContextsInput
impl ListContextsInput
sourcepub fn builder() -> ListContextsInputBuilder
pub fn builder() -> ListContextsInputBuilder
Creates a new builder-style object to manufacture ListContextsInput
.
Trait Implementations§
source§impl Clone for ListContextsInput
impl Clone for ListContextsInput
source§fn clone(&self) -> ListContextsInput
fn clone(&self) -> ListContextsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListContextsInput
impl Debug for ListContextsInput
source§impl PartialEq for ListContextsInput
impl PartialEq for ListContextsInput
source§fn eq(&self, other: &ListContextsInput) -> bool
fn eq(&self, other: &ListContextsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListContextsInput
Auto Trait Implementations§
impl Freeze for ListContextsInput
impl RefUnwindSafe for ListContextsInput
impl Send for ListContextsInput
impl Sync for ListContextsInput
impl Unpin for ListContextsInput
impl UnwindSafe for ListContextsInput
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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