pub struct StyleList {
pub total_results: usize,
pub items_per_page: Option<usize>,
pub query: Option<QueryResponse>,
pub items: Vec<String>,
}Expand description
the payload of a /styles response: the names of the
CSL styles crossref can render a citation in
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<String>all actual message items of the response
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StyleList
impl<'de> Deserialize<'de> for StyleList
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 StyleList
impl RefUnwindSafe for StyleList
impl Send for StyleList
impl Sync for StyleList
impl Unpin for StyleList
impl UnsafeUnpin for StyleList
impl UnwindSafe for StyleList
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