Struct google_androidmanagement1::PowerManagementEvent [−][src]
pub struct PowerManagementEvent { pub event_type: Option<String>, pub battery_level: Option<f32>, pub create_time: Option<String>, }
A power management event.
This type is not used in any activity, and only used as part of another schema.
Fields
event_type: Option<String>
Event type.
battery_level: Option<f32>
For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage.
create_time: Option<String>
The creation time of the event.
Trait Implementations
impl Default for PowerManagementEvent
[src]
impl Default for PowerManagementEvent
fn default() -> PowerManagementEvent
[src]
fn default() -> PowerManagementEvent
Returns the "default value" for a type. Read more
impl Clone for PowerManagementEvent
[src]
impl Clone for PowerManagementEvent
fn clone(&self) -> PowerManagementEvent
[src]
fn clone(&self) -> PowerManagementEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PowerManagementEvent
[src]
impl Debug for PowerManagementEvent
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for PowerManagementEvent
[src]
impl Part for PowerManagementEvent
Auto Trait Implementations
impl Send for PowerManagementEvent
impl Send for PowerManagementEvent
impl Sync for PowerManagementEvent
impl Sync for PowerManagementEvent