Struct aws_sdk_resourceexplorer2::model::ResourceCount
source · #[non_exhaustive]pub struct ResourceCount { /* private fields */ }Expand description
Information about the number of results that match the query. At this time, Amazon Web Services Resource Explorer doesn't count more than 1,000 matches for any query. This structure provides information about whether the query exceeded this limit.
This field is included in every page when you paginate the results.
Implementations§
source§impl ResourceCount
impl ResourceCount
sourcepub fn total_resources(&self) -> Option<i64>
pub fn total_resources(&self) -> Option<i64>
The number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results.
sourcepub fn complete(&self) -> Option<bool>
pub fn complete(&self) -> Option<bool>
Indicates whether the TotalResources value represents an exhaustive count of search results.
-
If
True, it indicates that the search was exhaustive. Every resource that matches the query was counted. -
If
False, then the search reached the limit of 1,000 matching results, and stopped counting.
source§impl ResourceCount
impl ResourceCount
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResourceCount.
Trait Implementations§
source§impl Clone for ResourceCount
impl Clone for ResourceCount
source§fn clone(&self) -> ResourceCount
fn clone(&self) -> ResourceCount
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ResourceCount
impl Debug for ResourceCount
source§impl PartialEq<ResourceCount> for ResourceCount
impl PartialEq<ResourceCount> for ResourceCount
source§fn eq(&self, other: &ResourceCount) -> bool
fn eq(&self, other: &ResourceCount) -> bool
self and other values to be equal, and is used
by ==.