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