use crate::model::types;
use serde::{Deserialize, Serialize};
#[derive(Debug, PartialEq, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct Costs {
pub results: Vec<Cost>,
pub has_more: bool,
}
#[derive(Debug, PartialEq, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct Cost {
pub cost_per_hour: f64,
pub id: types::UUID,
pub start: types::Date,
pub created_at: types::Timestamp,
pub overhead_cost_per_hour: f64,
pub currency: String,
pub is_default: bool,
pub end: types::Date,
pub total_cost_per_hour: f64,
}
#[cfg(test)]
mod tests;