panorama/imap/src/response/mod.rs

27 lines
394 B
Rust
Raw Normal View History

2021-02-21 13:42:40 +00:00
use std::str::FromStr;
pub enum Response {
Capabilities(Vec<Capability>),
Done {
tag: RequestId,
status: Status,
code: Option<ResponseCode>,
information: Option<String>,
},
}
pub enum Capability {
Imap4rev1,
Auth(String),
Atom(String),
}
pub struct RequestId(pub String);
pub enum Status {
Ok,
No,
}
pub enum ResponseCode {}