datadoghq 0.2.2

Datadog APM-compatible tracer and logger
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[derive(Clone)]
pub struct SqlInfo {
    query: String,
    rows: String,
    db: String,
}

impl SqlInfo {
    pub fn query(&self) -> &str {
        &self.query
    }
    pub fn rows(&self) -> &str {
        &self.rows
    }
    pub fn db(&self) -> &str {
        &self.db
    }
}