pub trait QueryParams: Sized {
// Required methods
fn query(&self) -> &Query;
fn query_mut(&mut self) -> &mut Query;
// Provided methods
fn index(self, index: usize) -> Self { ... }
fn number(self, number: usize) -> Self { ... }
fn market(self, market: Market) -> Self { ... }
fn market_option(self, market: Option<Market>) -> Self { ... }
fn uhd(self, uhd: bool) -> Self { ... }
fn uhd_option(self, uhd: Option<bool>) -> Self { ... }
}Required Methods§
Provided Methods§
fn index(self, index: usize) -> Self
fn number(self, number: usize) -> Self
fn market(self, market: Market) -> Self
fn market_option(self, market: Option<Market>) -> Self
fn uhd(self, uhd: bool) -> Self
fn uhd_option(self, uhd: Option<bool>) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".