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