[][src]Struct slack_morphism::SlackClientHttpSessionApi

pub struct SlackClientHttpSessionApi<'a, SCHC> where
    SCHC: SlackClientHttpConnector + Send
{ /* fields omitted */ }

Implementations

impl<'a, SCHC> SlackClientHttpSessionApi<'a, SCHC> where
    SCHC: SlackClientHttpConnector + Send
[src]

pub async fn http_get_uri<RS, PT, TS>(&self, full_uri: Url) -> ClientResult<RS> where
    RS: for<'de> Deserialize<'de> + Send
[src]

pub async fn http_get<'p, RS, PT, TS>(
    &self,
    method_relative_uri: &str,
    params: &'p PT
) -> ClientResult<RS> where
    RS: for<'de> Deserialize<'de> + Send,
    PT: IntoIterator<Item = (&'p str, Option<&'p TS>)> + Clone,
    TS: ToString + 'p + Send
[src]

pub async fn http_post<RQ, RS>(
    &self,
    method_relative_uri: &str,
    request: &RQ
) -> ClientResult<RS> where
    RQ: Serialize + Send + Sync,
    RS: for<'de> Deserialize<'de> + Send
[src]

pub async fn http_post_uri<RQ, RS>(
    &self,
    full_uri: Url,
    request: &RQ
) -> ClientResult<RS> where
    RQ: Serialize + Send + Sync,
    RS: for<'de> Deserialize<'de> + Send
[src]

Trait Implementations

impl<'a, SCHC: Debug> Debug for SlackClientHttpSessionApi<'a, SCHC> where
    SCHC: SlackClientHttpConnector + Send
[src]

Auto Trait Implementations

impl<'a, SCHC> RefUnwindSafe for SlackClientHttpSessionApi<'a, SCHC> where
    SCHC: RefUnwindSafe
[src]

impl<'a, SCHC> Send for SlackClientHttpSessionApi<'a, SCHC> where
    SCHC: Sync
[src]

impl<'a, SCHC> Sync for SlackClientHttpSessionApi<'a, SCHC> where
    SCHC: Sync
[src]

impl<'a, SCHC> Unpin for SlackClientHttpSessionApi<'a, SCHC>[src]

impl<'a, SCHC> UnwindSafe for SlackClientHttpSessionApi<'a, SCHC> where
    SCHC: RefUnwindSafe
[src]

Blanket Implementations

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

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

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

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.