asana/model/modify_dependents_request.rs
1use serde::{Serialize, Deserialize};
2///A set of dependent tasks.
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct ModifyDependentsRequest {
5 ///An array of task gids that are dependents of the given task.
6 pub dependents: Vec<String>,
7}
8impl std::fmt::Display for ModifyDependentsRequest {
9 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
10 write!(f, "{}", serde_json::to_string(self).unwrap())
11 }
12}