gmail/model/
settings_delegates_list_response.rs1use serde::{Serialize, Deserialize};
2#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct SettingsDelegatesListResponse {
5 #[serde(default, skip_serializing_if = "Option::is_none")]
7 pub delegates: Option<Vec<serde_json::Value>>,
8}
9impl std::fmt::Display for SettingsDelegatesListResponse {
10 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
11 write!(f, "{}", serde_json::to_string(self).unwrap())
12 }
13}