[−][src]Struct crossref::FieldQuery
Field queries are available on the /works
route and allow for queries that match only particular fields of metadata.
Fields
name: String
match any only particular fields of metadata.
value: String
the value of the query
Methods
impl FieldQuery
[src]
pub fn title(title: &str) -> Self
[src]
creates a new Field
query for title
and subtitle
pub fn container_title(container_title: &str) -> Self
[src]
creates a new Field
query for container-title
aka publication.name
pub fn author(author: &str) -> Self
[src]
creates a new Field
query author given and family names
pub fn editor(editor: &str) -> Self
[src]
creates a new Field
query for editor given and family names
pub fn chair(chair: &str) -> Self
[src]
creates a new Field
query for chair given and family names
pub fn translator(translator: &str) -> Self
[src]
creates a new Field
query for translator given and family names
pub fn contributor(contributor: &str) -> Self
[src]
creates a new Field
query for author, editor, chair and translator given and family names
pub fn bibliographic(bibliographic: &str) -> Self
[src]
creates a new Field
query for bibliographic information, useful for citation look up.
Includes titles, authors, ISSNs and publication years
pub fn affiliation(affiliation: &str) -> Self
[src]
creates a new Field
query for contributor affiliations
Trait Implementations
impl CrossrefQueryParam for FieldQuery
[src]
fn param_key(&self) -> Cow<str>
[src]
fn param_value(&self) -> Option<Cow<str>>
[src]
fn param(&self) -> Cow<str>
[src]
constructs the full parameter for the query string by combining the key and value
impl Clone for FieldQuery
[src]
fn clone(&self) -> FieldQuery
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for FieldQuery
[src]
Auto Trait Implementations
impl Sync for FieldQuery
impl Unpin for FieldQuery
impl Send for FieldQuery
impl UnwindSafe for FieldQuery
impl RefUnwindSafe for FieldQuery
Blanket Implementations
impl<T> From<T> for T
[src]
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, 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>,