bindizr_core/model/zone_change.rs
1use sqlx::FromRow;
2
3#[derive(Debug, Clone, FromRow)]
4pub struct ZoneChange {
5 pub id: i32,
6 pub zone_id: i32,
7 pub serial: i32,
8 pub operation: String, // "ADD" or "DEL"
9 pub record_name: String,
10 pub record_type: String,
11 pub record_value: String,
12 pub record_ttl: Option<i32>,
13 pub record_priority: Option<i32>,
14}