[][src]Struct oauth1_request::Builder

pub struct Builder<'a, SM, T = String> { /* fields omitted */ }

A builder for Request.

Methods

impl<'a, SM: SignatureMethod, T: Borrow<str>> Builder<'a, SM, T>[src]

pub fn new(client: Credentials<T>, signature_method: SM) -> Self[src]

pub fn token(&mut self, token: impl Into<Option<Credentials<T>>>) -> &mut Self[src]

pub fn callback(&mut self, callback: impl Into<Option<&'a str>>) -> &mut Self[src]

pub fn nonce(&mut self, nonce: impl Into<Option<&'a str>>) -> &mut Self[src]

pub fn timestamp(&mut self, timestamp: impl Into<Option<u64>>) -> &mut Self[src]

pub fn verifier(&mut self, verifier: impl Into<Option<&'a str>>) -> &mut Self[src]

pub fn version(&mut self, version: bool) -> &mut Self[src]

pub fn get<U: Display, A: OAuth1Authorize>(&self, uri: U, request: A) -> Request where
    SM: Copy
[src]

pub fn put_form<U: Display, A: OAuth1Authorize>(
    &self,
    uri: U,
    request: A
) -> Request where
    SM: Copy
[src]

pub fn post_form<U: Display, A: OAuth1Authorize>(
    &self,
    uri: U,
    request: A
) -> Request where
    SM: Copy
[src]

pub fn delete<U: Display, A: OAuth1Authorize>(
    &self,
    uri: U,
    request: A
) -> Request where
    SM: Copy
[src]

pub fn options<U: Display, A: OAuth1Authorize>(
    &self,
    uri: U,
    request: A
) -> Request where
    SM: Copy
[src]

pub fn head<U: Display, A: OAuth1Authorize>(
    &self,
    uri: U,
    request: A
) -> Request where
    SM: Copy
[src]

pub fn connect<U: Display, A: OAuth1Authorize>(
    &self,
    uri: U,
    request: A
) -> Request where
    SM: Copy
[src]

pub fn patch_form<U: Display, A: OAuth1Authorize>(
    &self,
    uri: U,
    request: A
) -> Request where
    SM: Copy
[src]

pub fn trace<U: Display, A: OAuth1Authorize>(
    &self,
    uri: U,
    request: A
) -> Request where
    SM: Copy
[src]

pub fn build<U: Display, A: OAuth1Authorize>(
    &self,
    method: &str,
    uri: U,
    request: A
) -> Request where
    SM: Copy
[src]

pub fn build_form<U: Display, A: OAuth1Authorize>(
    &self,
    method: &str,
    uri: U,
    request: A
) -> Request where
    SM: Copy
[src]

pub fn build_<U, A>(&self, method: &str, uri: U, request: A, q: bool) -> Request where
    SM: Copy,
    U: Display,
    A: OAuth1Authorize
[src]

Trait Implementations

impl<'a, SM: Clone, T: Clone> Clone for Builder<'a, SM, T>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a, SM: Debug, T: Debug> Debug for Builder<'a, SM, T>[src]

Auto Trait Implementations

impl<'a, SM, T> Unpin for Builder<'a, SM, T> where
    SM: Unpin,
    T: Unpin

impl<'a, SM, T> Send for Builder<'a, SM, T> where
    SM: Send,
    T: Send

impl<'a, SM, T> Sync for Builder<'a, SM, T> where
    SM: Sync,
    T: Sync

impl<'a, SM, T> RefUnwindSafe for Builder<'a, SM, T> where
    SM: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, SM, T> UnwindSafe for Builder<'a, SM, T> where
    SM: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self