#[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§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.impl StructuralPartialEq for QueryObjectsOutput
Auto Trait Implementations§
impl Freeze for QueryObjectsOutput
impl RefUnwindSafe for QueryObjectsOutput
impl Send for QueryObjectsOutput
impl Sync for QueryObjectsOutput
impl Unpin for QueryObjectsOutput
impl UnwindSafe for QueryObjectsOutput
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