Skip to main content

Module response

Module response 

Source
Expand description

provides the response types of the crossref api

Re-exports§

pub use crate::response::work::Work;
pub use crate::response::work::WorkList;

Modules§

work
provides the types for a work response

Structs§

Breakdowns
how a member’s DOIs are spread across publication years
Counts
how many DOIs crossref holds for a member
Coverage
CrossrefType
one of the work types crossref registers, as returned by /types
FacetItem
if a facet was set in a request FacetMap will be in a List response as additional field of the message
Failure
a single thing crossref objected to in a rejected request
Failures
everything crossref objected to in a rejected request
Funder
response item for the /funder/{id} route
FunderList
the payload of a /funders response
IssnType
an ISSN together with the kind of ISSN it is
Journal
response item for the /journals/{issn} route
JournalList
the payload of a /journals response
LicenseCount
how many works in the crossref metadata are published under one license
LicenseList
the payload of a /licenses response
Member
response item for the /member/{id} route
MemberList
the payload of a /members response
Prefix
response item for the /prefix/{id}/ route response item for the /prefixes/{id} route
QueryResponse
if a query was set in the request then it is also part of the result
RefPrefix
a DOI prefix a member owns, and what it exposes through it
Response
Represents the whole crossref response for a any request.
StyleList
the payload of a /styles response: the names of the CSL styles crossref can render a citation in
TypeList
the payload of a /types response
WorkAgency
response item for the /works/{id}/agency route

Enums§

Message
the different payloads of a response, and the message-type that names them
MessageType
all possible message-type of a response

Type Aliases§

FacetMap
facets are returned as map