Struct aws_sdk_resourceexplorer2::operation::search::SearchOutput
source · #[non_exhaustive]pub struct SearchOutput {
pub resources: Option<Vec<Resource>>,
pub next_token: Option<String>,
pub view_arn: Option<String>,
pub count: Option<ResourceCount>,
/* 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.resources: Option<Vec<Resource>>The list of structures that describe the resources that match the query.
next_token: Option<String>If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. The pagination tokens expire after 24 hours.
view_arn: Option<String>The Amazon resource name (ARN) of the view that this operation used to perform the search.
count: Option<ResourceCount>The number of resources that match the query.
Implementations§
source§impl SearchOutput
impl SearchOutput
sourcepub fn resources(&self) -> &[Resource]
pub fn resources(&self) -> &[Resource]
The list of structures that describe the resources that match the query.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. The pagination tokens expire after 24 hours.
sourcepub fn view_arn(&self) -> Option<&str>
pub fn view_arn(&self) -> Option<&str>
The Amazon resource name (ARN) of the view that this operation used to perform the search.
sourcepub fn count(&self) -> Option<&ResourceCount>
pub fn count(&self) -> Option<&ResourceCount>
The number of resources that match the query.
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.