Skip to content

Commit

Permalink
add structs for message and history records
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcmicu committed Jan 4, 2024
1 parent 9187962 commit 78ae734
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,23 @@ impl std::fmt::Debug for ColumnRule {
)
}
}
#[derive(Debug)]
pub struct ValveMessage {
pub column: String,
pub value: String,
pub rule: String,
pub level: String,
pub message: String,
}

#[derive(Debug)]
pub struct ValveChange {
pub column: String,
pub level: String,
pub old_value: String,
pub value: String,
pub message: String,
}

#[derive(Debug)]
pub struct ValveConfig {
Expand Down

0 comments on commit 78ae734

Please sign in to comment.