asana/model/rule_trigger_response.rs
1use serde::{Serialize, Deserialize};
2#[derive(Debug, Clone, Serialize, Deserialize, Default)]
3pub struct RuleTriggerResponse {
4 ///Message providing more detail about the result
5 pub message: String,
6}
7impl std::fmt::Display for RuleTriggerResponse {
8 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
9 write!(f, "{}", serde_json::to_string(self).unwrap())
10 }
11}