[][src]Struct mcquery::BasicQueryResponse

pub struct BasicQueryResponse {
    pub motd: String,
    pub gametype: String,
    pub map: String,
    pub num_players: u32,
    pub max_players: u32,
    pub port: u16,
    pub ip: String,
    // some fields omitted
}

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]

impl Debug for BasicQueryResponse[src]

impl Eq for BasicQueryResponse[src]

impl Ord for BasicQueryResponse[src]

impl PartialEq<BasicQueryResponse> for BasicQueryResponse[src]

impl PartialOrd<BasicQueryResponse> for BasicQueryResponse[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.