pretty_sqlite/
options.rs

1pub struct PrettyOptions {
2	pub rows_limit: usize,
3
4	pub cell_truncate_max: Option<u32>,
5	// TODO: Implement cell_truncate_pos
6	// pub cell_truncate_pos: TruncatePosition,
7}
8
9// TODO: to be implemented
10// pub enum TruncatePosition {
11// 	Start(u32),
12// 	Middle,
13// 	End(u32),
14// }
15
16// implement default
17impl Default for PrettyOptions {
18	fn default() -> Self {
19		Self {
20			rows_limit: 300,
21			cell_truncate_max: None,
22			// TODO: to be implemented
23			// cell_truncate_pos: TruncatePosition::End(0),
24		}
25	}
26}