Skip to main content

asana/model/
add_followers_request.rs

1use serde::{Serialize, Deserialize};
2#[derive(Debug, Clone, Serialize, Deserialize, Default)]
3pub struct AddFollowersRequest {
4    ///An array of strings identifying users. These can either be the string "me", an email, or the gid of a user.
5    pub followers: String,
6}
7impl std::fmt::Display for AddFollowersRequest {
8    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
9        write!(f, "{}", serde_json::to_string(self).unwrap())
10    }
11}