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
16#[derive(Clone, Debug)]
22pub struct Context {
23 pub request_type: RequestType,
24 pub owner: Option<String>,
25 pub repo: Option<String>,
26 pub additional: Option<String>,
27}
28
29#[derive(Clone, Debug)]
34pub enum RequestType {
35 List,
36 Create,
37 Delete,
38 DeletePermanent,
39 UserList,
40 ListOrg,
41 CreateOrg,
42 DeleteOrg,
43 RepositoryDetails
44}