[−][src]Struct mygpoclient::client::DeviceClient
Device-specific AuthenticatedClient
Implementations
impl DeviceClient
[src]
pub fn new(username: &str, password: &str, device_id: &str) -> DeviceClient
[src]
Create DeviceClient
Trait Implementations
impl AsRef<AuthenticatedClient> for DeviceClient
[src]
fn as_ref(&self) -> &AuthenticatedClient
[src]
impl Clone for DeviceClient
[src]
fn clone(&self) -> DeviceClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DeviceClient
[src]
impl From<DeviceClient> for AuthenticatedClient
[src]
fn from(device_client: DeviceClient) -> Self
[src]
impl GetAccountSettings for DeviceClient
[src]
impl GetAllSubscriptions for DeviceClient
[src]
impl GetDeviceSettings for DeviceClient
[src]
impl GetDeviceUpdates for DeviceClient
[src]
fn get_device_updates(
&self,
since: u64,
include_actions: bool
) -> Result<DeviceUpdates, Error>
[src]
&self,
since: u64,
include_actions: bool
) -> Result<DeviceUpdates, Error>
impl GetEpisodeSettings for DeviceClient
[src]
fn get_episode_settings(
&self,
podcast: Url,
episode: Url
) -> Result<HashMap<String, String>, Error>
[src]
&self,
podcast: Url,
episode: Url
) -> Result<HashMap<String, String>, Error>
impl GetPodcastSettings for DeviceClient
[src]
impl ListDevices for DeviceClient
[src]
impl PodcastSearch for DeviceClient
[src]
impl PodcastToplist for DeviceClient
[src]
impl RetrieveEpisodeData for DeviceClient
[src]
impl RetrievePodcastData for DeviceClient
[src]
impl RetrievePodcastsForTag for DeviceClient
[src]
impl RetrieveSuggestedPodcasts for DeviceClient
[src]
fn retrieve_suggested_podcasts(
&self,
max_results: u8
) -> Result<Vec<Suggestion>, Error>
[src]
&self,
max_results: u8
) -> Result<Vec<Suggestion>, Error>
impl RetrieveTopTags for DeviceClient
[src]
impl SaveAccountSettings for DeviceClient
[src]
fn save_account_settings(
&self,
set: HashMap<String, String>,
remove: Vec<String>
) -> Result<HashMap<String, String>, Error>
[src]
&self,
set: HashMap<String, String>,
remove: Vec<String>
) -> Result<HashMap<String, String>, Error>
impl SaveDeviceSettings for DeviceClient
[src]
fn save_device_settings(
&self,
set: HashMap<String, String>,
remove: Vec<String>
) -> Result<HashMap<String, String>, Error>
[src]
&self,
set: HashMap<String, String>,
remove: Vec<String>
) -> Result<HashMap<String, String>, Error>
impl SaveEpisodeSettings for DeviceClient
[src]
fn save_episode_settings(
&self,
set: HashMap<String, String>,
remove: Vec<String>,
podcast: Url,
episode: Url
) -> Result<HashMap<String, String>, Error>
[src]
&self,
set: HashMap<String, String>,
remove: Vec<String>,
podcast: Url,
episode: Url
) -> Result<HashMap<String, String>, Error>
impl SavePodcastSettings for DeviceClient
[src]
fn save_podcast_settings(
&self,
set: HashMap<String, String>,
remove: Vec<String>,
podcast: Url
) -> Result<HashMap<String, String>, Error>
[src]
&self,
set: HashMap<String, String>,
remove: Vec<String>,
podcast: Url
) -> Result<HashMap<String, String>, Error>
impl SubscriptionChanges for DeviceClient
[src]
fn upload_subscription_changes(
&self,
add: &[Url],
remove: &[Url]
) -> Result<UploadSubscriptionChangesResponse, Error>
[src]
&self,
add: &[Url],
remove: &[Url]
) -> Result<UploadSubscriptionChangesResponse, Error>
fn get_subscription_changes(
&self,
timestamp: u64
) -> Result<GetSubscriptionChangesResponse, Error>
[src]
&self,
timestamp: u64
) -> Result<GetSubscriptionChangesResponse, Error>
impl SubscriptionsOfDevice for DeviceClient
[src]
fn get_subscriptions_of_device(&self) -> Result<Vec<Url>, Error>
[src]
fn upload_subscriptions_of_device(
&self,
subscriptions: &[Url]
) -> Result<(), Error>
[src]
&self,
subscriptions: &[Url]
) -> Result<(), Error>
impl UpdateDeviceData for DeviceClient
[src]
Auto Trait Implementations
impl !RefUnwindSafe for DeviceClient
impl Send for DeviceClient
impl Sync for DeviceClient
impl Unpin for DeviceClient
impl !UnwindSafe for DeviceClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,