[−][src]Trait mygpoclient::subscription::SubscriptionsOfDevice
Get and upload subscriptions of a device
Required methods
fn get_subscriptions_of_device(&self) -> Result<Vec<Url>, Error>
Get Subscriptions of Device
Examples
use mygpoclient::client::DeviceClient; use mygpoclient::subscription::SubscriptionsOfDevice; let client = DeviceClient::new(&username, &password, &deviceid); let subscriptions = client.get_subscriptions_of_device()?;
See also
fn upload_subscriptions_of_device(
&self,
subscriptions: &[Url]
) -> Result<(), Error>
&self,
subscriptions: &[Url]
) -> Result<(), Error>
Upload the current subscription list of the given user to the server.