pub struct TypeList {
pub facets: FacetMap,
pub total_results: usize,
pub items_per_page: Option<usize>,
pub query: Option<QueryResponse>,
pub items: Vec<CrossrefType>,
}Fields§
§facets: FacetMapif facets where part in the request they are also included in the response
total_results: usizethe number of items that match the response
items_per_page: Option<usize>crossref responses for large number of items are divided in pages, number of elements to expect in items
query: Option<QueryResponse>if a query was set in the request, this will also be part in the response
items: Vec<CrossrefType>all actual message items of the response
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypeList
impl<'de> Deserialize<'de> for TypeList
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TypeList
impl RefUnwindSafe for TypeList
impl Send for TypeList
impl Sync for TypeList
impl Unpin for TypeList
impl UnsafeUnpin for TypeList
impl UnwindSafe for TypeList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more