[][src]Trait crossref::query::CrossrefParams

pub trait CrossrefParams {
type Filter: Filter;
    fn query_terms(&self) -> &[String];
fn filters(&self) -> &[Self::Filter];
fn sort(&self) -> Option<&Sort>;
fn order(&self) -> Option<&Order>;
fn facets(&self) -> &[FacetCount];
fn result_control(&self) -> Option<&ResultControl>; }

Helper trait for unified interface

Associated Types

type Filter: Filter

the filter applied

Loading content...

Required methods

fn query_terms(&self) -> &[String]

all string queries

fn filters(&self) -> &[Self::Filter]

the filters this object can use

fn sort(&self) -> Option<&Sort>

the sort if set

fn order(&self) -> Option<&Order>

the order if set

fn facets(&self) -> &[FacetCount]

all facets this objects addresses

fn result_control(&self) -> Option<&ResultControl>

the configured result control, if any

Loading content...

Implementors

impl CrossrefParams for FundersQuery[src]

impl CrossrefParams for MembersQuery[src]

impl CrossrefParams for WorksQuery[src]

Loading content...