mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-06-04 08:11:49 +00:00
16 lines
412 B
Rust
16 lines
412 B
Rust
// Copyright 2025 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
// Please see LICENSE files 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,
|
|
}
|