Struct slack_morphism::SlackClientHttpSessionApi[][src]

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

Implementations

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

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

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.