pub struct PaginatedDeviceWithConfigContextList {
pub count: i32,
pub next: Option<Option<String>>,
pub previous: Option<Option<String>>,
pub results: Vec<DeviceWithConfigContext>,
}Fields§
§count: i32§next: Option<Option<String>>§previous: Option<Option<String>>§results: Vec<DeviceWithConfigContext>Implementations§
Source§impl PaginatedDeviceWithConfigContextList
impl PaginatedDeviceWithConfigContextList
pub fn new( count: i32, results: Vec<DeviceWithConfigContext>, ) -> PaginatedDeviceWithConfigContextList
Trait Implementations§
Source§impl Clone for PaginatedDeviceWithConfigContextList
impl Clone for PaginatedDeviceWithConfigContextList
Source§fn clone(&self) -> PaginatedDeviceWithConfigContextList
fn clone(&self) -> PaginatedDeviceWithConfigContextList
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 Default for PaginatedDeviceWithConfigContextList
impl Default for PaginatedDeviceWithConfigContextList
Source§fn default() -> PaginatedDeviceWithConfigContextList
fn default() -> PaginatedDeviceWithConfigContextList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaginatedDeviceWithConfigContextList
impl<'de> Deserialize<'de> for PaginatedDeviceWithConfigContextList
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 PaginatedDeviceWithConfigContextList
impl PartialEq for PaginatedDeviceWithConfigContextList
Source§fn eq(&self, other: &PaginatedDeviceWithConfigContextList) -> bool
fn eq(&self, other: &PaginatedDeviceWithConfigContextList) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaginatedDeviceWithConfigContextList
Auto Trait Implementations§
impl Freeze for PaginatedDeviceWithConfigContextList
impl RefUnwindSafe for PaginatedDeviceWithConfigContextList
impl Send for PaginatedDeviceWithConfigContextList
impl Sync for PaginatedDeviceWithConfigContextList
impl Unpin for PaginatedDeviceWithConfigContextList
impl UnwindSafe for PaginatedDeviceWithConfigContextList
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