pub struct ListDeviceEventsRequest {
pub device_arn: String,
pub event_type: Option<String>,
pub max_results: Option<i64>,
pub next_token: Option<String>,
}
Fields
device_arn: String
The ARN of a device.
event_type: Option<String>
The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
max_results: Option<i64>
The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
next_token: Option<String>
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults. When the end of results is reached, the response has a value of null.
Trait Implementations
sourceimpl Clone for ListDeviceEventsRequest
impl Clone for ListDeviceEventsRequest
sourcefn clone(&self) -> ListDeviceEventsRequest
fn clone(&self) -> ListDeviceEventsRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListDeviceEventsRequest
impl Debug for ListDeviceEventsRequest
sourceimpl Default for ListDeviceEventsRequest
impl Default for ListDeviceEventsRequest
sourcefn default() -> ListDeviceEventsRequest
fn default() -> ListDeviceEventsRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ListDeviceEventsRequest> for ListDeviceEventsRequest
impl PartialEq<ListDeviceEventsRequest> for ListDeviceEventsRequest
sourcefn eq(&self, other: &ListDeviceEventsRequest) -> bool
fn eq(&self, other: &ListDeviceEventsRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListDeviceEventsRequest) -> bool
fn ne(&self, other: &ListDeviceEventsRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for ListDeviceEventsRequest
impl Serialize for ListDeviceEventsRequest
impl StructuralPartialEq for ListDeviceEventsRequest
Auto Trait Implementations
impl RefUnwindSafe for ListDeviceEventsRequest
impl Send for ListDeviceEventsRequest
impl Sync for ListDeviceEventsRequest
impl Unpin for ListDeviceEventsRequest
impl UnwindSafe for ListDeviceEventsRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more