[][src]Trait telegram_bot_fork::types::ResponseType

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

Associated Types

type Type

Loading content...

Required methods

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...