[][src]Struct ebay::auth::Grant

pub struct Grant<'a> {
    pub credential: &'a Credential,
    pub ru_name: &'a str,
    pub scopes: &'a [&'a str],
}

Fields

credential: &'a Credentialru_name: &'a str

eBay uses RuName as redirect_url Doc

scopes: &'a [&'a str]

Methods

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

pub fn build_grant_url<S: ToString>(&self, state: S) -> EbayResult<GrantUrl>[src]

Trait Implementations

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

Auto Trait Implementations

impl<'a> Send for Grant<'a>

impl<'a> Sync for Grant<'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