#[non_exhaustive]pub struct QueryObjectsInput {
pub pipeline_id: Option<String>,
pub query: Option<Query>,
pub sphere: Option<String>,
pub marker: Option<String>,
pub limit: Option<i32>,
}
Expand description
Contains the parameters for 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.pipeline_id: Option<String>
The ID of the pipeline.
query: Option<Query>
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors. The conditions in the query are limited to top-level String fields in the object. These filters can be applied to components, instances, and attempts.
sphere: Option<String>
Indicates whether the query applies to components or instances. The possible values are: COMPONENT
, INSTANCE
, and ATTEMPT
.
marker: Option<String>
The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call QueryObjects
with the marker value from the previous call to retrieve the next set of results.
limit: Option<i32>
The maximum number of object names that QueryObjects
will return in a single call. The default value is 100.
Implementations§
source§impl QueryObjectsInput
impl QueryObjectsInput
sourcepub fn pipeline_id(&self) -> Option<&str>
pub fn pipeline_id(&self) -> Option<&str>
The ID of the pipeline.
sourcepub fn query(&self) -> Option<&Query>
pub fn query(&self) -> Option<&Query>
The query that defines the objects to be returned. The Query
object can contain a maximum of ten selectors. The conditions in the query are limited to top-level String fields in the object. These filters can be applied to components, instances, and attempts.
sourcepub fn sphere(&self) -> Option<&str>
pub fn sphere(&self) -> Option<&str>
Indicates whether the query applies to components or instances. The possible values are: COMPONENT
, INSTANCE
, and ATTEMPT
.
source§impl QueryObjectsInput
impl QueryObjectsInput
sourcepub fn builder() -> QueryObjectsInputBuilder
pub fn builder() -> QueryObjectsInputBuilder
Creates a new builder-style object to manufacture QueryObjectsInput
.
Trait Implementations§
source§impl Clone for QueryObjectsInput
impl Clone for QueryObjectsInput
source§fn clone(&self) -> QueryObjectsInput
fn clone(&self) -> QueryObjectsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryObjectsInput
impl Debug for QueryObjectsInput
source§impl PartialEq for QueryObjectsInput
impl PartialEq for QueryObjectsInput
source§fn eq(&self, other: &QueryObjectsInput) -> bool
fn eq(&self, other: &QueryObjectsInput) -> bool
self
and other
values to be equal, and is used
by ==
.