pub struct WorkList {
pub facets: FacetMap,
pub total_results: usize,
pub items_per_page: Option<usize>,
pub query: Option<QueryResponse>,
pub items: Vec<Work>,
pub next_cursor: Option<String>,
}Fields§
§facets: FacetMap§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<Work>all work items that are returned
next_cursor: Option<String>deep page through /works result sets
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorkList
impl<'de> Deserialize<'de> for WorkList
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 WorkList
impl RefUnwindSafe for WorkList
impl Send for WorkList
impl Sync for WorkList
impl Unpin for WorkList
impl UnsafeUnpin for WorkList
impl UnwindSafe for WorkList
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