pub struct LicenseList {
pub total_results: usize,
pub items_per_page: Option<usize>,
pub query: Option<QueryResponse>,
pub items: Vec<LicenseCount>,
}Expand description
the payload of a /licenses response
Carries neither facets nor a query echo – /licenses sends neither.
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<LicenseCount>all actual message items of the response
Trait Implementations§
Source§impl Clone for LicenseList
impl Clone for LicenseList
Source§fn clone(&self) -> LicenseList
fn clone(&self) -> LicenseList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LicenseList
impl Debug for LicenseList
Source§impl<'de> Deserialize<'de> for LicenseList
impl<'de> Deserialize<'de> for LicenseList
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 LicenseList
impl RefUnwindSafe for LicenseList
impl Send for LicenseList
impl Sync for LicenseList
impl Unpin for LicenseList
impl UnsafeUnpin for LicenseList
impl UnwindSafe for LicenseList
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