grp_core/common/
structs.rs1pub struct Repo {
8 pub name: String,
9 pub path: String,
10 pub private: Option<bool>,
11 pub url: String,
12 pub git: String,
13 pub description: Option<String>,
14}
15
16pub struct Context {
22 pub request_type: RequestType,
23 pub owner: Option<String>,
24 pub repo: Option<String>,
25 pub additional: Option<String>,
26}
27
28#[derive(Clone)]
33pub enum RequestType {
34 List,
35 Create,
36 Delete,
37 DeletePermanent,
38 UserList,
39 ListOrg,
40 CreateOrg,
41 DeleteOrg,
42 RepositoryDetails
43}