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