teaql-core 4.1.1

TeaQL core, SQL, runtime, dialect, and macro crates for model-driven data access
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct TraceNode {
    pub entity_type: String,
    pub entity_id: Option<u64>,
    pub comment: String,
}

impl TraceNode {
    pub fn new(entity_type: impl Into<String>, entity_id: Option<u64>, comment: impl Into<String>) -> Self {
        Self {
            entity_type: entity_type.into(),
            entity_id,
            comment: comment.into(),
        }
    }
}