[][src]Struct pandora_rs2::Pandora

pub struct Pandora { /* fields omitted */ }

Methods

impl Pandora[src]

pub fn new(username: &str, password: &str) -> Result<Self>[src]

pub fn with_credentials(credentials: Credentials) -> Self[src]

pub fn stations(&self) -> Stations[src]

pub fn request<T>(&self, method: Method, body: Option<Value>) -> Result<T> where
    T: DeserializeOwned
[src]

pub fn request_noop(&self, method: Method, body: Option<Value>) -> Result<()>[src]

Trait Implementations

impl Debug for Pandora[src]

Auto Trait Implementations

impl Send for Pandora

impl Sync for Pandora

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err