1 2 3 4 5 6 7 8 9 10
use serde::{Deserialize, Serialize}; /** * Author is a struct that represents the author of a repo. */ #[derive(Serialize, Deserialize, Debug)] pub struct Author { pub service: String, pub username: String, pub name: String, }