[][src]Trait mygpoclient::subscription::GetAllSubscriptions

pub trait GetAllSubscriptions {
    fn get_all_subscriptions(&self) -> Result<Vec<Podcast>, Error>;
}

Required methods

fn get_all_subscriptions(&self) -> Result<Vec<Podcast>, Error>

Get All Subscriptions

This can be used to present the user a list of podcasts when the application starts for the first time.

Examples

use mygpoclient::client::AuthenticatedClient;
use mygpoclient::subscription::GetAllSubscriptions;

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

let subscriptions = client.get_all_subscriptions()?;

See also

Loading content...

Implementors

impl GetAllSubscriptions for AuthenticatedClient[src]

impl GetAllSubscriptions for DeviceClient[src]

Loading content...