Skip to main content

bhtune_db/models/
loops.rs

1use bhtune_core::{LoopConfig, LoopTags};
2use chrono::{DateTime, Utc};
3
4// loops {{{1
5
6/// One row of `loops`: a saved, named tag mapping plus default MRFT parameters.
7#[derive(Debug, Clone, PartialEq)]
8pub struct LoopRow {
9    pub id: i64,
10    pub name: String,
11    pub dcs_template_id: i64,
12    pub tags: LoopTags,
13    pub config: LoopConfig,
14    pub created_at: DateTime<Utc>,
15    pub updated_at: DateTime<Utc>,
16}
17// }}}1