[−][src]Trait mygpoclient::device::ListDevices
see list_devices
Required methods
fn list_devices(&self) -> Result<Vec<Device>, Error>
List Devices
Returns the list of devices that belong to a user. This can be used by the client to let the user select a device from which to retrieve subscriptions, etc..
Examples
use mygpoclient::client::AuthenticatedClient; use mygpoclient::device::ListDevices; let client = AuthenticatedClient::new(&username, &password); let devices = client.list_devices()?;