#[non_exhaustive]pub struct SearchEntitiesInput {
pub entity_types: Option<Vec<EntityType>>,
pub filters: Option<Vec<EntityFilter>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub namespace_version: Option<i64>,
}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.entity_types: Option<Vec<EntityType>>The entity types for which to search.
filters: Option<Vec<EntityFilter>>Optional filter to apply to the search. Valid filters are NAME NAMESPACE, SEMANTIC_TYPE_PATH and REFERENCED_ENTITY_ID. REFERENCED_ENTITY_ID filters on entities that are used by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
next_token: Option<String>The string that specifies the next page of results. Use this when you're paginating results.
max_results: Option<i32>The maximum number of results to return in the response.
namespace_version: Option<i64>The version of the user's namespace. Defaults to the latest version of the user's namespace.
Implementations§
source§impl SearchEntitiesInput
impl SearchEntitiesInput
sourcepub fn entity_types(&self) -> &[EntityType]
pub fn entity_types(&self) -> &[EntityType]
The entity types for which to search.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .entity_types.is_none().
sourcepub fn filters(&self) -> &[EntityFilter]
pub fn filters(&self) -> &[EntityFilter]
Optional filter to apply to the search. Valid filters are NAME NAMESPACE, SEMANTIC_TYPE_PATH and REFERENCED_ENTITY_ID. REFERENCED_ENTITY_ID filters on entities that are used by the entity in the result set. For example, you can filter on the ID of a property that is used in a state.
Multiple filters function as OR criteria in the query. Multiple values passed inside the filter function as AND criteria.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The string that specifies the next page of results. Use this when you're paginating results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return in the response.
sourcepub fn namespace_version(&self) -> Option<i64>
pub fn namespace_version(&self) -> Option<i64>
The version of the user's namespace. Defaults to the latest version of the user's namespace.
source§impl SearchEntitiesInput
impl SearchEntitiesInput
sourcepub fn builder() -> SearchEntitiesInputBuilder
pub fn builder() -> SearchEntitiesInputBuilder
Creates a new builder-style object to manufacture SearchEntitiesInput.
Trait Implementations§
source§impl Clone for SearchEntitiesInput
impl Clone for SearchEntitiesInput
source§fn clone(&self) -> SearchEntitiesInput
fn clone(&self) -> SearchEntitiesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchEntitiesInput
impl Debug for SearchEntitiesInput
source§impl PartialEq for SearchEntitiesInput
impl PartialEq for SearchEntitiesInput
source§fn eq(&self, other: &SearchEntitiesInput) -> bool
fn eq(&self, other: &SearchEntitiesInput) -> bool
self and other values to be equal, and is used
by ==.