[][src]Trait octocrab::FromResponse

pub trait FromResponse: Sized {
#[must_use]    pub fn from_response<'async_trait>(
        response: Response
    ) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

A trait for mapping from a reqwest::Response to an another type.

Required methods

#[must_use]pub fn from_response<'async_trait>(
    response: Response
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>> where
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl<T: DeserializeOwned> FromResponse for Page<T>[src]

impl<T: DeserializeOwned> FromResponse for T[src]

Loading content...