crops_api_models 0.1.1

Unofficial mapping of the Harvest API entities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use chrono::{DateTime, Utc};
use serde::Deserialize;

#[derive(Debug, Deserialize, Clone)]
pub struct Task {
    pub id: u64,
    pub name: String,
    pub billable_by_default: Option<bool>,
    pub default_hourly_rate: Option<f64>,
    pub is_default: Option<bool>,
    pub is_active: Option<bool>,
    pub created_at: Option<DateTime<Utc>>,
    pub updated_at: Option<DateTime<Utc>>,
}