pub struct JavaPlayers {
pub online: i64,
pub max: i64,
pub sample: Option<Vec<JavaPlayer>>,
}Expand description
Java Edition player information.
Fields§
§online: i64Number of players currently online.
max: i64Maximum number of players.
sample: Option<Vec<JavaPlayer>>Sample of online players (if provided by server).
Trait Implementations§
Source§impl Clone for JavaPlayers
impl Clone for JavaPlayers
Source§fn clone(&self) -> JavaPlayers
fn clone(&self) -> JavaPlayers
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 JavaPlayers
impl Debug for JavaPlayers
Source§impl<'de> Deserialize<'de> for JavaPlayers
impl<'de> Deserialize<'de> for JavaPlayers
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
Auto Trait Implementations§
impl Freeze for JavaPlayers
impl RefUnwindSafe for JavaPlayers
impl Send for JavaPlayers
impl Sync for JavaPlayers
impl Unpin for JavaPlayers
impl UnwindSafe for JavaPlayers
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