[][src]Struct rust_openttd_admin::packet::admin::server_packets::Welcome

pub struct Welcome {
    pub server_name: String,
    pub openttd_version: String,
    pub is_dedicated: bool,
    pub map_name: String,
    pub map_seed: u32,
    pub map_landscape: u8,
    pub map_start_date: Date,
    pub map_width: u16,
    pub map_height: u16,
}

Welcome a connected admin to the game.

Fields

server_name: String

Name of the Server (e.g. as advertised to master server).

openttd_version: String

OpenTTD version string.

is_dedicated: bool

Server is dedicated.

map_name: String

Name of the Map.

map_seed: u32

Random seed of the Map.

map_landscape: u8

Landscape of the Map.

map_start_date: Date

Start date of the Map.

map_width: u16

Map width.

map_height: u16

Map height.

Trait Implementations

impl Eq for Welcome[src]

impl PartialEq<Welcome> for Welcome[src]

impl Clone for Welcome[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Welcome[src]

impl Serialize for Welcome[src]

impl<'de> Deserialize<'de> for Welcome[src]

Auto Trait Implementations

impl Send for Welcome

impl Sync for Welcome

Blanket Implementations

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

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]