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