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