pub struct QueryOptions {
pub settings: BTreeMap<String, String>,
pub cancel: Option<CancellationToken>,
}Expand description
Options of BetterStackQuery::query and BetterStackQuery::query_raw.
Fields§
§settings: BTreeMap<String, String>ClickHouse settings sent as URL parameters (e.g. max_execution_time → 30).
cancel: Option<CancellationToken>Cancels the call (CANCELLED).
Implementations§
Trait Implementations§
Source§impl Clone for QueryOptions
impl Clone for QueryOptions
Source§impl Debug for QueryOptions
impl Debug for QueryOptions
Auto Trait Implementations§
impl Forget for QueryOptions
impl Freeze for QueryOptions
impl Move for QueryOptions
impl RefUnwindSafe for QueryOptions
impl Send for QueryOptions
impl Sync for QueryOptions
impl Unpin for QueryOptions
impl UnsafeUnpin for QueryOptions
impl UnwindSafe for QueryOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more