[−][src]Struct crossref::query::funders::FundersQuery
Each query parameter is ANDed
Fields
queries: Vec<String>
search by non specific query
filter: Vec<FundersFilter>
filter to apply while querying
sort: Option<Sort>
sort results by a certain field and
order: Option<Order>
set the sort order to asc
or desc
facets: Vec<FacetCount>
enable facet information in responses
result_control: Option<ResultControl>
deep page through /works
result sets
Methods
impl FundersQuery
[src]
pub fn empty() -> Self
[src]
alias for creating an empty default element
pub fn new<T: ToString>(query: T) -> Self
[src]
Convenience method to create a new query with a term directly
pub fn query<T: ToString>(self, query: T) -> Self
[src]
add a new free form query
pub fn filter(self, filter: FundersFilter) -> Self
[src]
add a new filter to the query
pub fn sort(self, sort: Sort) -> Self
[src]
set sort option to the query
pub fn order_asc(self) -> Self
[src]
set order to asc
pub fn order_desc(self) -> Self
[src]
set order to desc
pub fn order(self, order: Order) -> Self
[src]
set order option to query
pub fn facet(self, facet: FacetCount) -> Self
[src]
add another facet to query
pub fn result_control(self, result_control: ResultControl) -> Self
[src]
set result control option to query
Trait Implementations
impl CrossrefParams for FundersQuery
[src]
type Filter = FundersFilter
the filter applied
fn query_terms(&self) -> &[String]
[src]
fn filters(&self) -> &[Self::Filter]
[src]
fn sort(&self) -> Option<&Sort>
[src]
fn order(&self) -> Option<&Order>
[src]
fn facets(&self) -> &[FacetCount]
[src]
fn result_control(&self) -> Option<&ResultControl>
[src]
impl CrossrefRoute for FundersQuery
[src]
impl Default for FundersQuery
[src]
fn default() -> FundersQuery
[src]
impl Clone for FundersQuery
[src]
fn clone(&self) -> FundersQuery
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for FundersQuery
[src]
Auto Trait Implementations
impl Sync for FundersQuery
impl Unpin for FundersQuery
impl Send for FundersQuery
impl UnwindSafe for FundersQuery
impl RefUnwindSafe for FundersQuery
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,