eludrs 0.3.3

A simple API wrapper for Eludris built on Tokio
Documentation
1
2
3
4
5
6
7
8
9
use serde::{Deserialize, Serialize};
use todel::models::{ErrorResponse, Message};

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(untagged)]
pub(crate) enum MessageResponse {
    Message(Message),
    Error(ErrorResponse),
}