Expand description
Struct that stores information about players on the server.
Not intended to be used directly, but only as a part of StatusResponse.
Fields
max: u32
The maximum number of players allowed on the server.
online: u32
The number of players currently online.
sample: Vec<Sample>
A listing of some online Players. See Sample for more information.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Players
impl<'de> Deserialize<'de> for Players
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Players
impl Send for Players
impl Sync for Players
impl Unpin for Players
impl UnwindSafe for Players
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more