1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
use serde::Deserialize;

#[derive(Debug, Deserialize)]
pub struct CustomFieldTags {
    pub proposer_url: String,
    pub proposal_solution: String,
    pub proposal_brief: String,
    pub proposal_importance: String,
    pub proposal_goal: String,
    pub proposal_metrics: String,
    pub proposal_public_key: String,
    pub proposal_funds: Vec<String>,
    pub proposal_relevant_experience: String,
    pub proposal_why: String,
}

impl Default for CustomFieldTags {
    fn default() -> Self {
        Self {
            proposer_url: "website_github_repository__not_required_".to_string(),
            proposal_solution: "problem_solution".to_string(),
            proposal_brief: "challenge_brief".to_string(),
            proposal_importance: "importance".to_string(),
            proposal_goal: "how_does_success_look_like_".to_string(),
            proposal_metrics: "key_metrics_to_measure".to_string(),
            proposal_public_key: "ada_payment_address".to_string(),
            proposal_funds: vec![
                "requested_funds".to_string(),
                "requested_funds_coti".to_string(),
            ],
            proposal_relevant_experience: "relevant_experience".to_string(),
            proposal_why: "importance".to_string(),
        }
    }
}