[][src]Trait telegram_bot::types::requests::ResponseType

pub trait ResponseType {
    type Type;
    pub fn deserialize(resp: HttpResponse) -> Result<Self::Type, Error>;
}

Associated Types

type Type[src]

Loading content...

Required methods

pub fn deserialize(resp: HttpResponse) -> Result<Self::Type, Error>[src]

Loading content...

Implementors

impl<Resp> ResponseType for Resp where
    Resp: JsonResponse,
    <Resp as JsonResponse>::Raw: DeserializeOwned
[src]

type Type = <Resp as JsonResponse>::Type

Loading content...