Skip to main content

link_cli/
query_options.rs

1/// Options for query processing
2pub struct QueryOptions {
3    pub query: String,
4    pub trace: bool,
5}
6
7impl QueryOptions {
8    pub fn new(query: &str, trace: bool) -> Self {
9        Self {
10            query: query.to_string(),
11            trace,
12        }
13    }
14}