pub struct PaginatedLicenseList {
pub pagination: Box<Pagination>,
pub results: Vec<License>,
}
Fields§
§pagination: Box<Pagination>
§results: Vec<License>
Implementations§
Source§impl PaginatedLicenseList
impl PaginatedLicenseList
pub fn new( pagination: Pagination, results: Vec<License>, ) -> PaginatedLicenseList
Trait Implementations§
Source§impl Clone for PaginatedLicenseList
impl Clone for PaginatedLicenseList
Source§fn clone(&self) -> PaginatedLicenseList
fn clone(&self) -> PaginatedLicenseList
Returns a duplicate of the value. Read more
1.0.0 · 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 PaginatedLicenseList
impl Debug for PaginatedLicenseList
Source§impl Default for PaginatedLicenseList
impl Default for PaginatedLicenseList
Source§fn default() -> PaginatedLicenseList
fn default() -> PaginatedLicenseList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaginatedLicenseList
impl<'de> Deserialize<'de> for PaginatedLicenseList
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
Source§impl PartialEq for PaginatedLicenseList
impl PartialEq for PaginatedLicenseList
Source§impl Serialize for PaginatedLicenseList
impl Serialize for PaginatedLicenseList
impl StructuralPartialEq for PaginatedLicenseList
Auto Trait Implementations§
impl Freeze for PaginatedLicenseList
impl RefUnwindSafe for PaginatedLicenseList
impl Send for PaginatedLicenseList
impl Sync for PaginatedLicenseList
impl Unpin for PaginatedLicenseList
impl UnwindSafe for PaginatedLicenseList
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