asana/model/
workspace_remove_user_request.rs

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