Skip to main content

QueryParams

Trait QueryParams 

Source
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§

Source

fn query(&self) -> &Query

Source

fn query_mut(&mut self) -> &mut Query

Provided Methods§

Source

fn index(self, index: usize) -> Self

Source

fn number(self, number: usize) -> Self

Source

fn market(self, market: Market) -> Self

Source

fn market_option(self, market: Option<Market>) -> Self

Source

fn uhd(self, uhd: bool) -> Self

Source

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".

Implementors§