pub struct PlayerSlice {
pub total_count: Option<i32>,
pub offset: Option<i32>,
pub limit: Option<i32>,
pub players: Option<Vec<Player>>,
}
Fields§
§total_count: Option<i32>
§offset: Option<i32>
§limit: Option<i32>
§players: Option<Vec<Player>>
Implementations§
Source§impl PlayerSlice
impl PlayerSlice
pub fn new() -> PlayerSlice
Trait Implementations§
Source§impl Clone for PlayerSlice
impl Clone for PlayerSlice
Source§fn clone(&self) -> PlayerSlice
fn clone(&self) -> PlayerSlice
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 PlayerSlice
impl Debug for PlayerSlice
Source§impl Default for PlayerSlice
impl Default for PlayerSlice
Source§fn default() -> PlayerSlice
fn default() -> PlayerSlice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlayerSlice
impl<'de> Deserialize<'de> for PlayerSlice
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 PlayerSlice
impl PartialEq for PlayerSlice
Source§impl Serialize for PlayerSlice
impl Serialize for PlayerSlice
impl StructuralPartialEq for PlayerSlice
Auto Trait Implementations§
impl Freeze for PlayerSlice
impl RefUnwindSafe for PlayerSlice
impl Send for PlayerSlice
impl Sync for PlayerSlice
impl Unpin for PlayerSlice
impl UnwindSafe for PlayerSlice
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