[][src]Enum crossref::WorksFilter

pub enum WorksFilter {
    HasFunder,
    Funder(String),
    Location(String),
    Prefix(String),
    Member(String),
    FromIndexDate(NaiveDate),
    UntilIndexDate(NaiveDate),
    FromDepositDate(NaiveDate),
    UntilDepositDate(NaiveDate),
    FromUpdateDate(NaiveDate),
    UntilUpdateDate(NaiveDate),
    FromCreatedDate(NaiveDate),
    UntilCreatedDate(NaiveDate),
    FromPubDate(NaiveDate),
    UntilPubDate(NaiveDate),
    FromOnlinePubDate(NaiveDate),
    UntilOnlinePubDate(NaiveDate),
    FromPrintPubDate(NaiveDate),
    UntilPrintPubDate(NaiveDate),
    FromPostedDate(NaiveDate),
    UntilPostedDate(NaiveDate),
    FromAcceptedDate(NaiveDate),
    UntilAcceptedDate(NaiveDate),
    HasLicense,
    LicenseUrl(String),
    LicenseVersion(String),
    LicenseDelay(i32),
    HasFullText,
    FullTextVersion(String),
    FullTextType(String),
    FullTextApplication(String),
    HasReferences,
    ReferenceVisibility(Visibility),
    HasArchive,
    Archive(String),
    HasOrcid,
    HasAuthenticatedOrcid,
    Orcid(String),
    Issn(String),
    Isbn(String),
    Type(Type),
    Directory(String),
    Doi(String),
    Updates(String),
    IsUpdate,
    HasUpdatePolicy,
    ContainerTitle(String),
    CategoryName(String),
    TypeName(String),
    AwardNumber(String),
    AwardFunder(String),
    HasAssertion,
    AssertionGroup(String),
    Assertion(String),
    HasAffiliation,
    AlternativeId,
    ArticleNumber,
    HasAbstract,
    HasClinicalTrialNumber,
    ContentDomain(String),
    HasContentDomain,
    HasDomainRestriction,
    HasRelation,
    RelationType,
    RelationObject,
    RelationObjectType(String),
}

Filters allow you to narrow queries. All filter results are lists

Variants

HasFunder

metadata which includes one or more funder entry

Funder(String)

metadata which include the id in FundRef data

Location(String)

funder records where location = {country name}. Only works on /funders route

Prefix(String)

metadata belonging to a DOI owner prefix {owner_prefix} (e.g. 10.1016 )

Member(String)

metadata belonging to a Crossref member

FromIndexDate(NaiveDate)

metadata indexed since (inclusive)

UntilIndexDate(NaiveDate)

metadata indexed before (inclusive)

FromDepositDate(NaiveDate)

metadata last (re)deposited since (inclusive)

UntilDepositDate(NaiveDate)

metadata last (re)deposited before (inclusive)

FromUpdateDate(NaiveDate)

Metadata updated since (inclusive) {date}. Currently the same as from-deposit-date

UntilUpdateDate(NaiveDate)

Metadata updated before (inclusive) {date}. Currently the same as until-deposit-date

FromCreatedDate(NaiveDate)

metadata first deposited since (inclusive)

UntilCreatedDate(NaiveDate)

metadata first deposited before (inclusive)

FromPubDate(NaiveDate)

metadata where published date is since (inclusive)

UntilPubDate(NaiveDate)

metadata where published date is before (inclusive)

FromOnlinePubDate(NaiveDate)

metadata where online published date is since (inclusive)

UntilOnlinePubDate(NaiveDate)

metadata where online published date is before (inclusive)

FromPrintPubDate(NaiveDate)

metadata where print published date is since (inclusive)

UntilPrintPubDate(NaiveDate)

metadata where print published date is before (inclusive)

FromPostedDate(NaiveDate)

metadata where posted date is since (inclusive)

UntilPostedDate(NaiveDate)

metadata where posted date is before (inclusive)

FromAcceptedDate(NaiveDate)

metadata where accepted date is since (inclusive)

UntilAcceptedDate(NaiveDate)

metadata where accepted date is before (inclusive)

HasLicense

metadata that includes any <license_ref> elements.

LicenseUrl(String)

metadata where `<license_ref> value equals the value

LicenseVersion(String)

metadata where the <license_ref>'s applies_to attribute is

LicenseDelay(i32)

metadata where difference between publication date and the <license_ref>'s start_date attribute is <= value (in days)

HasFullText

metadata that includes any full text <resource> elements

FullTextVersion(String)

metadata where <resource> element's content_version attribute is the value

FullTextType(String)

metadata where <resource> element's content_type attribute is value (e.g. application/pdf)

FullTextApplication(String)

metadata where <resource> link has one of the following intended applications: text-mining, similarity-checking or unspecified

HasReferences

metadata for works that have a list of references

ReferenceVisibility(Visibility)

metadata for works where references are either open, limited (to Metadata Plus subscribers) or closed

HasArchive

metadata which include name of archive partner

Archive(String)

metadata which where value of archive partner is the value

HasOrcid

metadata which includes one or more ORCIDs

HasAuthenticatedOrcid

metadata which includes one or more ORCIDs where the depositing publisher claims to have witness the ORCID owner authenticate with ORCID

Orcid(String)

metadata where <orcid> element's value = the value

Issn(String)

metadata where record has an ISSN = the value. Format is xxxx-xxxx

Isbn(String)

metadata where record has an ISBN = the value

Type(Type)

metadata records whose type = value. Type must be an ID value from the list of types returned by the /types resource

Directory(String)

metadata records whose article or serial are mentioned in the given value. Currently the only supported value is doaj

Doi(String)

metadata describing the DOI

Updates(String)

metadata for records that represent editorial updates to the DOI

IsUpdate

metadata for records that represent editorial updates

HasUpdatePolicy

metadata for records that include a link to an editorial update policy

ContainerTitle(String)

metadata for records with a publication title exactly with an exact match

CategoryName(String)

metadata for records with an exact matching category label. Category labels come from this list published by Scopus

TypeName(String)

metadata for records with an exacty matching type label

AwardNumber(String)

metadata for records with a matching award number. Optionally combine with award.funder

AwardFunder(String)

metadata for records with an award with matching funder. Optionally combine with award.number

HasAssertion

metadata for records with any assertions

AssertionGroup(String)

metadata for records with an assertion in a particular group

Assertion(String)

metadata for records with a particular named assertion

HasAffiliation

metadata for records that have any affiliation information

AlternativeId

metadata for records with the given alternative ID, which may be a publisher-specific ID, or any other identifier a publisher may have provided

ArticleNumber

metadata for records with a given article number

HasAbstract

metadata for records which include an abstract

HasClinicalTrialNumber

metadata for records which include a clinical trial number

ContentDomain(String)

metadata where the publisher records a particular domain name as the location Crossmark content will appear

HasContentDomain

metadata where the publisher records a domain name location for Crossmark content

HasDomainRestriction

metadata where the publisher restricts Crossmark usage to content domains

HasRelation

metadata for records that either assert or are the object of a relation

RelationType

One of the relation types from the Crossref relations schema (e.g. is-referenced-by, is-parent-of, is-preprint-of)

RelationObject

Relations where the object identifier matches the identifier provided

RelationObjectType(String)

One of the identifier types from the Crossref relations schema (e.g. doi, issn)

Methods

impl WorksFilter[src]

pub fn name(&self) -> &str[src]

the identifier for a the query key

Trait Implementations

impl Filter for WorksFilter[src]

impl ParamFragment for WorksFilter[src]

fn fragment(&self) -> Cow<str>[src]

key and value are concat using :

impl Clone for WorksFilter[src]

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

Performs copy-assignment from source. Read more

impl Eq for WorksFilter[src]

impl PartialEq<WorksFilter> for WorksFilter[src]

impl Debug for WorksFilter[src]

impl Serialize for WorksFilter[src]

impl<'de> Deserialize<'de> for WorksFilter[src]

Auto Trait Implementations

impl Send for WorksFilter

impl Sync for WorksFilter

Blanket Implementations

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

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, 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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