pub mod response;
use core::fmt;
use std::fmt::{Display, Formatter};
pub enum WhereMessage {
Inbox,
Unread,
SENT,
}
impl Display for WhereMessage {
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
let string = match self {
WhereMessage::Inbox => "inbox",
WhereMessage::Unread => "unread",
WhereMessage::SENT => "sent",
};
write!(f, "{}", string)
}
}