[][src]Struct ebay::auth::Exchange

pub struct Exchange<'a> {
    pub credential: &'a Credential,
    pub ru_name: &'a str,
}

Fields

credential: &'a Credentialru_name: &'a str

eBay uses RuName as redirect_url Doc

Methods

impl<'a> Exchange<'a>[src]

pub fn exchange(
    &self,
    client: &Client,
    code: &str
) -> EbayResult<ExchangeResponse>
[src]

Trait Implementations

impl<'a> Debug for Exchange<'a>[src]

Auto Trait Implementations

impl<'a> Send for Exchange<'a>

impl<'a> Sync for Exchange<'a>

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T