Enum tg_botapi::BotError
[−]
[src]
pub enum BotError { Http(Error), Api { error_code: i64, description: String, parameters: Option<ResponseParameters>, }, }
Variants
Http(Error)
Api
Fields of Api
error_code: i64 | |
description: String | |
parameters: Option<ResponseParameters> |
Trait Implementations
impl Debug for BotError
[src]
impl Display for BotError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more