1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use std::collections::HashMap; #[derive(Clone, Debug)] pub struct BuildInformation { pub branch: String, pub commit_id: String, pub name: String, pub status: String, pub timestamp: String, pub url: String, } pub trait CodebuildOutput { fn print(build_info: HashMap<String, Vec<BuildInformation>>); }