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