[][src]Trait mygpoclient::device::GetDeviceUpdates

pub trait GetDeviceUpdates {
    fn get_device_updates(
        &self,
        since: u64,
        include_actions: bool
    ) -> Result<DeviceUpdates, Error>; }

Required methods

fn get_device_updates(
    &self,
    since: u64,
    include_actions: bool
) -> Result<DeviceUpdates, Error>

Get Device Updates

Examples

use mygpoclient::client::DeviceClient;
use mygpoclient::device::GetDeviceUpdates;

let client = DeviceClient::new(&username, &password, &deviceid);

let device_updates = client.get_device_updates(timestamp, true)?;

See also

Loading content...

Implementors

impl GetDeviceUpdates for DeviceClient[src]

Loading content...