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