Link up db types
This commit is contained in:
+23
-2
@@ -61,9 +61,30 @@ pub struct Project {
|
||||
pub client_id: Option<u64>,
|
||||
pub name: String,
|
||||
pub active: bool,
|
||||
pub color: String,
|
||||
pub at: String,
|
||||
pub server_deleted_at: Option<String>,
|
||||
pub created_at: String,
|
||||
|
||||
#[serde(flatten)]
|
||||
pub rest: HashMap<String, Value>,
|
||||
// cid: Option<serde_json::Value>,
|
||||
// wid: i64,
|
||||
// rate: Option<serde_json::Value>,
|
||||
// status: String,
|
||||
// billable: Option<serde_json::Value>,
|
||||
// currency: Option<serde_json::Value>,
|
||||
// template: Option<serde_json::Value>,
|
||||
// fixed_fee: Option<serde_json::Value>,
|
||||
// recurring: bool,
|
||||
// is_private: bool,
|
||||
// start_date: String,
|
||||
// template_id: Option<serde_json::Value>,
|
||||
// actual_hours: i64,
|
||||
// actual_seconds: i64,
|
||||
// auto_estimates: Option<serde_json::Value>,
|
||||
// estimated_hours: Option<serde_json::Value>,
|
||||
// estimated_seconds: Option<serde_json::Value>,
|
||||
// rate_last_updated: Option<serde_json::Value>,
|
||||
// recurring_parameters: Option<serde_json::Value>,
|
||||
}
|
||||
|
||||
/// Represents a client in Toggl.
|
||||
|
||||
Reference in New Issue
Block a user