Skip to main content

link_cli/
query_options.rs

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