nushell/crates/nu-command/src/database/values/definitions/db_table.rs
Stefan Holderbach c2f4969d4f
Clippy fix for Rust 1.63 (#6299)
Take more sensitive lints into account

Somewhat ugly in some cases is the replacement of `.get(0)` with
`.first()`
2022-08-11 11:54:54 -05:00

9 lines
268 B
Rust

#[derive(Debug, Clone, Eq, PartialEq)]
pub struct DbTable {
pub name: String,
pub create_time: Option<chrono::DateTime<chrono::Utc>>,
pub update_time: Option<chrono::DateTime<chrono::Utc>>,
pub engine: Option<String>,
pub schema: Option<String>,
}