asana/model/create_subtask_for_task_response.rs
1use serde::{Serialize, Deserialize};
2use super::TaskResponse;
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct CreateSubtaskForTaskResponse {
5 pub data: TaskResponse,
6}
7impl std::fmt::Display for CreateSubtaskForTaskResponse {
8 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
9 write!(f, "{}", serde_json::to_string(self).unwrap())
10 }
11}