asana/model/requested_role_request.rs
1use serde::{Serialize, Deserialize};
2#[derive(Debug, Clone, Serialize, Deserialize, Default)]
3pub struct RequestedRoleRequest {
4 ///Globally unique identifier of the template role in the project template.
5 pub gid: String,
6 ///The user id that should be assigned to the template role.
7 pub value: String,
8}
9impl std::fmt::Display for RequestedRoleRequest {
10 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
11 write!(f, "{}", serde_json::to_string(self).unwrap())
12 }
13}