Struct aws_sdk_datazone::operation::search::SearchOutput
source · #[non_exhaustive]pub struct SearchOutput {
pub items: Option<Vec<SearchInventoryResultItem>>,
pub next_token: Option<String>,
pub total_match_count: Option<i32>,
/* 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.items: Option<Vec<SearchInventoryResultItem>>The results of the Search action.
next_token: Option<String>When the number of results is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of results, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to Search to list the next set of results.
total_match_count: Option<i32>Total number of search results.
Implementations§
source§impl SearchOutput
impl SearchOutput
sourcepub fn items(&self) -> &[SearchInventoryResultItem]
pub fn items(&self) -> &[SearchInventoryResultItem]
The results of the Search action.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .items.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
When the number of results is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of results, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to Search to list the next set of results.
sourcepub fn total_match_count(&self) -> Option<i32>
pub fn total_match_count(&self) -> Option<i32>
Total number of search results.
source§impl SearchOutput
impl SearchOutput
sourcepub fn builder() -> SearchOutputBuilder
pub fn builder() -> SearchOutputBuilder
Creates a new builder-style object to manufacture SearchOutput.
Trait Implementations§
source§impl Clone for SearchOutput
impl Clone for SearchOutput
source§fn clone(&self) -> SearchOutput
fn clone(&self) -> SearchOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchOutput
impl Debug for SearchOutput
source§impl PartialEq for SearchOutput
impl PartialEq for SearchOutput
source§fn eq(&self, other: &SearchOutput) -> bool
fn eq(&self, other: &SearchOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for SearchOutput
impl RequestId for SearchOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for SearchOutput
Auto Trait Implementations§
impl Freeze for SearchOutput
impl RefUnwindSafe for SearchOutput
impl Send for SearchOutput
impl Sync for SearchOutput
impl Unpin for SearchOutput
impl UnwindSafe for SearchOutput
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> 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