[][src]Enum crossref::WorkListQuery

pub enum WorkListQuery {
    Works(WorksQuery),
    Combined {
        primary_component: Component,
        ident: WorksIdentQuery,
    },
}

Wraps queries that target WorkList, either directly or combined

Variants

Works(WorksQuery)

Target Works directly

Combined

Target the corresponding Works of a specific Component

Fields of Combined

primary_component: Componentident: WorksIdentQuery

Methods

impl WorkListQuery[src]

pub fn query(&self) -> &WorksQuery[src]

the underlying WorksQuery

pub fn query_mut(&mut self) -> &mut WorksQuery[src]

mut reference to the underlying Worksquery

Trait Implementations

impl CrossrefRoute for WorkListQuery[src]

impl CrossrefQuery for WorkListQuery[src]

fn to_url(&self, base_path: &str) -> Result<String>[src]

constructs the full request url by concating the base_path with the route

impl Into<WorkListQuery> for WorksQuery[src]

impl Clone for WorkListQuery[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T: ToString> From<T> for WorkListQuery[src]

impl Debug for WorkListQuery[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err