mas_data_model/
policy_data.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2025 New Vector Ltd.
//
// SPDX-License-Identifier: AGPL-3.0-only
// Please see LICENSE in the repository root for full details.

use chrono::{DateTime, Utc};
use serde::Serialize;
use ulid::Ulid;

#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
pub struct PolicyData {
    pub id: Ulid,
    pub created_at: DateTime<Utc>,
    pub data: serde_json::Value,
}