[−][src]Struct oauth1_request::Builder
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]
SM: Copy,
pub fn put_form<U: Display, A: OAuth1Authorize>(
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
[src]
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
pub fn post_form<U: Display, A: OAuth1Authorize>(
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
[src]
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
pub fn delete<U: Display, A: OAuth1Authorize>(
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
[src]
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
pub fn options<U: Display, A: OAuth1Authorize>(
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
[src]
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
pub fn head<U: Display, A: OAuth1Authorize>(
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
[src]
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
pub fn connect<U: Display, A: OAuth1Authorize>(
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
[src]
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
pub fn patch_form<U: Display, A: OAuth1Authorize>(
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
[src]
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
pub fn trace<U: Display, A: OAuth1Authorize>(
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
[src]
&self,
uri: U,
request: A
) -> Request where
SM: Copy,
pub fn build<U: Display, A: OAuth1Authorize>(
&self,
method: &str,
uri: U,
request: A
) -> Request where
SM: Copy,
[src]
&self,
method: &str,
uri: U,
request: A
) -> Request where
SM: Copy,
pub fn build_form<U: Display, A: OAuth1Authorize>(
&self,
method: &str,
uri: U,
request: A
) -> Request where
SM: Copy,
[src]
&self,
method: &str,
uri: U,
request: A
) -> Request where
SM: Copy,
pub fn build_<U, A>(&self, method: &str, uri: U, request: A, q: bool) -> Request where
SM: Copy,
U: Display,
A: OAuth1Authorize,
[src]
SM: Copy,
U: Display,
A: OAuth1Authorize,
Trait Implementations
impl<'a, SM: Clone, T: Clone> Clone for Builder<'a, SM, T>
[src]
fn clone(&self) -> 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,
SM: Unpin,
T: Unpin,
impl<'a, SM, T> Send for Builder<'a, SM, T> where
SM: Send,
T: Send,
SM: Send,
T: Send,
impl<'a, SM, T> Sync for Builder<'a, SM, T> where
SM: Sync,
T: Sync,
SM: Sync,
T: Sync,
impl<'a, SM, T> RefUnwindSafe for Builder<'a, SM, T> where
SM: RefUnwindSafe,
T: RefUnwindSafe,
SM: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, SM, T> UnwindSafe for Builder<'a, SM, T> where
SM: UnwindSafe,
T: UnwindSafe,
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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self