pub struct ThingConnectivity {
pub connected: Option<bool>,
pub timestamp: Option<i64>,
}Expand description
The connectivity status of the thing.
Fields§
§connected: Option<bool>True if the thing is connected to the AWS IoT service; false if it is not connected.
timestamp: Option<i64>The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for more than a few weeks, the time value might be missing.
Trait Implementations§
Source§impl Clone for ThingConnectivity
impl Clone for ThingConnectivity
Source§fn clone(&self) -> ThingConnectivity
fn clone(&self) -> ThingConnectivity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThingConnectivity
impl Debug for ThingConnectivity
Source§impl Default for ThingConnectivity
impl Default for ThingConnectivity
Source§fn default() -> ThingConnectivity
fn default() -> ThingConnectivity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThingConnectivity
impl<'de> Deserialize<'de> for ThingConnectivity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ThingConnectivity
impl PartialEq for ThingConnectivity
impl StructuralPartialEq for ThingConnectivity
Auto Trait Implementations§
impl Freeze for ThingConnectivity
impl RefUnwindSafe for ThingConnectivity
impl Send for ThingConnectivity
impl Sync for ThingConnectivity
impl Unpin for ThingConnectivity
impl UnwindSafe for ThingConnectivity
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
Mutably borrows from an owned value. Read more