pub struct DeviceReportUpdateEvent {
pub device_id: Option<String>,
pub report: Option<DeviceReport>,
pub user_id: Option<String>,
}Expand description
An event generated when an updated device report is available.
This type is not used in any activity, and only used as part of another schema.
Fields§
§device_id: Option<String>The Android ID of the device. This field will always be present.
report: Option<DeviceReport>The device report updated with the latest app states. This field will always be present.
user_id: Option<String>The ID of the user. This field will always be present.
Trait Implementations§
Source§impl Clone for DeviceReportUpdateEvent
impl Clone for DeviceReportUpdateEvent
Source§fn clone(&self) -> DeviceReportUpdateEvent
fn clone(&self) -> DeviceReportUpdateEvent
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 DeviceReportUpdateEvent
impl Debug for DeviceReportUpdateEvent
Source§impl Default for DeviceReportUpdateEvent
impl Default for DeviceReportUpdateEvent
Source§fn default() -> DeviceReportUpdateEvent
fn default() -> DeviceReportUpdateEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceReportUpdateEvent
impl<'de> Deserialize<'de> for DeviceReportUpdateEvent
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 DeviceReportUpdateEvent
impl Serialize for DeviceReportUpdateEvent
impl Part for DeviceReportUpdateEvent
Auto Trait Implementations§
impl Freeze for DeviceReportUpdateEvent
impl RefUnwindSafe for DeviceReportUpdateEvent
impl Send for DeviceReportUpdateEvent
impl Sync for DeviceReportUpdateEvent
impl Unpin for DeviceReportUpdateEvent
impl UnwindSafe for DeviceReportUpdateEvent
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