Skip to main content

asana/model/
goal_remove_supporting_relationship_request.rs

1use serde::{Serialize, Deserialize};
2#[derive(Debug, Clone, Serialize, Deserialize, Default)]
3pub struct GoalRemoveSupportingRelationshipRequest {
4    ///The gid of the supporting resource to remove from the parent goal. Must be the gid of a goal, project, task, or portfolio.
5    pub supporting_resource: String,
6}
7impl std::fmt::Display for GoalRemoveSupportingRelationshipRequest {
8    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
9        write!(f, "{}", serde_json::to_string(self).unwrap())
10    }
11}