pub struct JavaStatus {
pub version: JavaVersion,
pub players: JavaPlayers,
pub description: String,
pub favicon: Option<String>,
pub map: Option<String>,
pub gamemode: Option<String>,
pub software: Option<String>,
pub plugins: Option<Vec<JavaPlugin>>,
pub mods: Option<Vec<JavaMod>>,
pub raw_data: Value,
}
Fields§
§version: JavaVersion
§players: JavaPlayers
§description: String
§favicon: Option<String>
§map: Option<String>
§gamemode: Option<String>
§software: Option<String>
§plugins: Option<Vec<JavaPlugin>>
§mods: Option<Vec<JavaMod>>
§raw_data: Value
Implementations§
Source§impl JavaStatus
impl JavaStatus
Trait Implementations§
Source§impl Clone for JavaStatus
impl Clone for JavaStatus
Source§fn clone(&self) -> JavaStatus
fn clone(&self) -> JavaStatus
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 JavaStatus
impl Debug for JavaStatus
Source§impl<'de> Deserialize<'de> for JavaStatus
impl<'de> Deserialize<'de> for JavaStatus
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 JavaStatus
impl RefUnwindSafe for JavaStatus
impl Send for JavaStatus
impl Sync for JavaStatus
impl Unpin for JavaStatus
impl UnwindSafe for JavaStatus
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