pub struct JournalList {
pub total_results: usize,
pub items_per_page: Option<usize>,
pub query: Option<QueryResponse>,
pub items: Vec<Journal>,
}Expand description
the payload of a /journals response
Carries no facets: /journals rejects the facet parameter, so the
field this type used to have was always an empty map synthesized by the
deserializer.
Fields§
§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<Journal>all actual message items of the response
Trait Implementations§
Source§impl Clone for JournalList
impl Clone for JournalList
Source§impl Debug for JournalList
impl Debug for JournalList
Source§impl<'de> Deserialize<'de> for JournalList
impl<'de> Deserialize<'de> for JournalList
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 JournalList
impl RefUnwindSafe for JournalList
impl Send for JournalList
impl Sync for JournalList
impl Unpin for JournalList
impl UnsafeUnpin for JournalList
impl UnwindSafe for JournalList
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