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.

For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage.

The creation time of the event.

Trait Implementations

impl Default for PowerManagementEvent
[src]

Returns the "default value" for a type. Read more

impl Clone for PowerManagementEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PowerManagementEvent
[src]

Formats the value using the given formatter. Read more

impl Part for PowerManagementEvent
[src]

Auto Trait Implementations