1 2 3 4 5 6 7 8 9 10 11
/* * A key is composed of: * - a user id * - a public key * We derive Clone here only to ease the testing */ #[derive(Clone,Debug,RustcDecodable,RustcEncodable)] pub struct Key { pub user: String, pub key: String }
1 2 3 4 5 6 7 8 9 10 11
/* * A key is composed of: * - a user id * - a public key * We derive Clone here only to ease the testing */ #[derive(Clone,Debug,RustcDecodable,RustcEncodable)] pub struct Key { pub user: String, pub key: String }