[−][src]Struct mcquery::BasicQueryResponse
Response to a basic query
Fields
motd: String
The Motto of the Day
gametype: String
Should always be "SMP"
map: String
The default map
num_players: u32
Number of players currently online
max_players: u32
Maximum player capacity
port: u16
The host port. Default is 25565
ip: String
The host ip. This is the localhost by default
Trait Implementations
impl Clone for BasicQueryResponse
[src]
fn clone(&self) -> BasicQueryResponse
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BasicQueryResponse
[src]
impl Eq for BasicQueryResponse
[src]
impl Ord for BasicQueryResponse
[src]
fn cmp(&self, other: &BasicQueryResponse) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<BasicQueryResponse> for BasicQueryResponse
[src]
fn eq(&self, other: &BasicQueryResponse) -> bool
[src]
fn ne(&self, other: &BasicQueryResponse) -> bool
[src]
impl PartialOrd<BasicQueryResponse> for BasicQueryResponse
[src]
fn partial_cmp(&self, other: &BasicQueryResponse) -> Option<Ordering>
[src]
fn lt(&self, other: &BasicQueryResponse) -> bool
[src]
fn le(&self, other: &BasicQueryResponse) -> bool
[src]
fn gt(&self, other: &BasicQueryResponse) -> bool
[src]
fn ge(&self, other: &BasicQueryResponse) -> bool
[src]
impl StructuralEq for BasicQueryResponse
[src]
impl StructuralPartialEq for BasicQueryResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for BasicQueryResponse
impl Send for BasicQueryResponse
impl Sync for BasicQueryResponse
impl Unpin for BasicQueryResponse
impl UnwindSafe for BasicQueryResponse
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,