#[non_exhaustive]pub struct SearchThingsInput {
pub entity_id: Option<String>,
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_id: Option<String>
The ID of the entity to which the things are associated.
The IDs should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
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 SearchThingsInput
impl SearchThingsInput
sourcepub fn entity_id(&self) -> Option<&str>
pub fn entity_id(&self) -> Option<&str>
The ID of the entity to which the things are associated.
The IDs should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
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 SearchThingsInput
impl SearchThingsInput
sourcepub fn builder() -> SearchThingsInputBuilder
pub fn builder() -> SearchThingsInputBuilder
Creates a new builder-style object to manufacture SearchThingsInput
.
Trait Implementations§
source§impl Clone for SearchThingsInput
impl Clone for SearchThingsInput
source§fn clone(&self) -> SearchThingsInput
fn clone(&self) -> SearchThingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchThingsInput
impl Debug for SearchThingsInput
source§impl PartialEq for SearchThingsInput
impl PartialEq for SearchThingsInput
source§fn eq(&self, other: &SearchThingsInput) -> bool
fn eq(&self, other: &SearchThingsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchThingsInput
Auto Trait Implementations§
impl Freeze for SearchThingsInput
impl RefUnwindSafe for SearchThingsInput
impl Send for SearchThingsInput
impl Sync for SearchThingsInput
impl Unpin for SearchThingsInput
impl UnwindSafe for SearchThingsInput
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> 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