#[non_exhaustive]pub struct QueryObjectsOutput {
pub ids: Option<Vec<String>>,
pub marker: Option<String>,
pub has_more_results: bool,
/* private fields */
}
Expand description
Contains the output of QueryObjects.
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.ids: Option<Vec<String>>
The identifiers that match the query selectors.
marker: Option<String>
The starting point for the next page of results. To view the next page of results, call QueryObjects
again with this marker value. If the value is null, there are no more results.
has_more_results: bool
Indicates whether there are more results that can be obtained by a subsequent call.
Implementations§
source§impl QueryObjectsOutput
impl QueryObjectsOutput
sourcepub fn ids(&self) -> &[String]
pub fn ids(&self) -> &[String]
The identifiers that match the query selectors.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ids.is_none()
.
sourcepub fn marker(&self) -> Option<&str>
pub fn marker(&self) -> Option<&str>
The starting point for the next page of results. To view the next page of results, call QueryObjects
again with this marker value. If the value is null, there are no more results.
sourcepub fn has_more_results(&self) -> bool
pub fn has_more_results(&self) -> bool
Indicates whether there are more results that can be obtained by a subsequent call.
source§impl QueryObjectsOutput
impl QueryObjectsOutput
sourcepub fn builder() -> QueryObjectsOutputBuilder
pub fn builder() -> QueryObjectsOutputBuilder
Creates a new builder-style object to manufacture QueryObjectsOutput
.
Trait Implementations§
source§impl Clone for QueryObjectsOutput
impl Clone for QueryObjectsOutput
source§fn clone(&self) -> QueryObjectsOutput
fn clone(&self) -> QueryObjectsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryObjectsOutput
impl Debug for QueryObjectsOutput
source§impl PartialEq for QueryObjectsOutput
impl PartialEq for QueryObjectsOutput
source§fn eq(&self, other: &QueryObjectsOutput) -> bool
fn eq(&self, other: &QueryObjectsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for QueryObjectsOutput
impl RequestId for QueryObjectsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.