Skip to main content

asana/model/
organization_export_request.rs

1use serde::{Serialize, Deserialize};
2///An *organization_export* request starts a job to export the complete data of the given Organization.
3#[derive(Debug, Clone, Serialize, Deserialize, Default)]
4pub struct OrganizationExportRequest {
5    ///Globally unique identifier for the workspace or organization.
6    pub organization: String,
7}
8impl std::fmt::Display for OrganizationExportRequest {
9    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
10        write!(f, "{}", serde_json::to_string(self).unwrap())
11    }
12}