Struct google_cloudiot1::api::DeviceState
source · pub struct DeviceState {
pub binary_data: Option<Vec<u8>>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
The device state, as reported by the device.
This type is not used in any activity, and only used as part of another schema.
Fields§
§binary_data: Option<Vec<u8>>
The device state data.
update_time: Option<DateTime<Utc>>
[Output only] The time at which this state version was updated in Cloud IoT Core.
Trait Implementations§
source§impl Clone for DeviceState
impl Clone for DeviceState
source§fn clone(&self) -> DeviceState
fn clone(&self) -> DeviceState
Returns a copy 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 DeviceState
impl Debug for DeviceState
source§impl Default for DeviceState
impl Default for DeviceState
source§fn default() -> DeviceState
fn default() -> DeviceState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeviceState
impl<'de> Deserialize<'de> for DeviceState
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 Serialize for DeviceState
impl Serialize for DeviceState
impl Part for DeviceState
Auto Trait Implementations§
impl RefUnwindSafe for DeviceState
impl Send for DeviceState
impl Sync for DeviceState
impl Unpin for DeviceState
impl UnwindSafe for DeviceState
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