Struct telegram::schema::Error
[−]
pub struct Error { pub code: i32, pub text: String, }
Fields
code: i32
text: String
Trait Implementations
impl Debug for Error
[src]
impl Serialize for Error
fn serialize_to(&self, buffer: &mut Vec<u8>) -> Result<()>
Serialize to the passed buffer.