asana/model/project_section_insert_request.rs
1use serde::{Serialize, Deserialize};
2#[derive(Debug, Clone, Serialize, Deserialize, Default)]
3pub struct ProjectSectionInsertRequest {
4 ///Insert the given section immediately after the section specified by this parameter.
5 pub after_section: String,
6 ///Insert the given section immediately before the section specified by this parameter.
7 pub before_section: String,
8 ///The section to reorder.
9 pub section: String,
10}
11impl std::fmt::Display for ProjectSectionInsertRequest {
12 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
13 write!(f, "{}", serde_json::to_string(self).unwrap())
14 }
15}