pub struct DataPageSimpleItemSchema {
pub data: Vec<SimpleItemSchema>,
pub total: Option<u32>,
pub page: Option<u32>,
pub size: Option<u32>,
pub pages: Option<u32>,
}Fields§
§data: Vec<SimpleItemSchema>§total: Option<u32>§page: Option<u32>§size: Option<u32>§pages: Option<u32>Implementations§
Source§impl DataPageSimpleItemSchema
impl DataPageSimpleItemSchema
pub fn new(data: Vec<SimpleItemSchema>) -> DataPageSimpleItemSchema
Trait Implementations§
Source§impl Clone for DataPageSimpleItemSchema
impl Clone for DataPageSimpleItemSchema
Source§fn clone(&self) -> DataPageSimpleItemSchema
fn clone(&self) -> DataPageSimpleItemSchema
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 DataPageSimpleItemSchema
impl Debug for DataPageSimpleItemSchema
Source§impl Default for DataPageSimpleItemSchema
impl Default for DataPageSimpleItemSchema
Source§fn default() -> DataPageSimpleItemSchema
fn default() -> DataPageSimpleItemSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataPageSimpleItemSchema
impl<'de> Deserialize<'de> for DataPageSimpleItemSchema
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 DataPageSimpleItemSchema
impl PartialEq for DataPageSimpleItemSchema
Source§impl Serialize for DataPageSimpleItemSchema
impl Serialize for DataPageSimpleItemSchema
impl StructuralPartialEq for DataPageSimpleItemSchema
Auto Trait Implementations§
impl Freeze for DataPageSimpleItemSchema
impl RefUnwindSafe for DataPageSimpleItemSchema
impl Send for DataPageSimpleItemSchema
impl Sync for DataPageSimpleItemSchema
impl Unpin for DataPageSimpleItemSchema
impl UnsafeUnpin for DataPageSimpleItemSchema
impl UnwindSafe for DataPageSimpleItemSchema
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