[][src]Trait plex_api::HasMyPlexToken

pub trait HasMyPlexToken {
    fn get_auth_token(&self) -> &str;
fn set_auth_token(&mut self, auth_token: &str); }

Required methods

fn get_auth_token(&self) -> &str

fn set_auth_token(&mut self, auth_token: &str)

Loading content...

Implementors

impl HasMyPlexToken for Device[src]

fn get_auth_token(&self) -> &str[src]

Returns authentication token for current account.

fn set_auth_token(&mut self, auth_token: &str)[src]

Sets authentication token for current account.

impl HasMyPlexToken for MyPlexAccount[src]

fn get_auth_token(&self) -> &str[src]

Returns authentication token for current account.

fn set_auth_token(&mut self, auth_token: &str)[src]

Sets authentication token for current account.

impl HasMyPlexToken for Server[src]

fn get_auth_token(&self) -> &str[src]

Returns authentication token for current server.

fn set_auth_token(&mut self, auth_token: &str)[src]

Sets authentication token for current server.

Loading content...