use serde::{Deserialize, Serialize}; use crate::handshake::HandshakeMessage; use self::{authentication::AuthenticationMessage, repository::RepositoryMessage}; pub mod authentication; pub mod issues; pub mod repository; pub mod user; #[derive(Clone, Serialize, Deserialize)] pub enum MessageKind { Handshake(HandshakeMessage), Repository(RepositoryMessage), Authentication(AuthenticationMessage), }