asana/model/
delete_story_response.rs

1use serde::{Serialize, Deserialize};
2use super::EmptyResponse;
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct DeleteStoryResponse {
5    ///An empty object. Some endpoints do not return an object on success. The success is conveyed through a 2-- status code and returning an empty object.
6    #[serde(skip_serializing_if = "Option::is_none")]
7    pub data: Option<EmptyResponse>,
8}
9impl std::fmt::Display for DeleteStoryResponse {
10    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
11        write!(f, "{}", serde_json::to_string(self).unwrap())
12    }
13}