pub struct Server {
Show 18 fields pub authentication_ip: String, pub cdn_info: CdnInfo, pub crisp_info: String, pub data_center_id: u32, pub game_api_url: String, pub game_content_api_url: String, pub language: String, pub log_level: i32, pub metrics_data_service_url: String, pub name: String, pub online: bool, pub suggested: bool, pub ugc_controller_services_url: String, pub ugc_cdn_info: CdnInfo, pub use3d_services: bool, pub version: String, pub version_dir_type: String, pub web_api_url: String,
Expand description

A single server (Universe) that can be selected


§authentication_ip: String

URL of the auth server

§cdn_info: CdnInfo

Information for the CDN client

§crisp_info: String

Info for moderation (?)

§data_center_id: u32

ID of the data center

§game_api_url: String

URL for the game API

§game_content_api_url: String

URL for game content

§language: String

Language Tag of the server

§log_level: i32

Log level

§metrics_data_service_url: String

URL of the metrics server

§name: String

Display name of the server

§online: bool

Whether this server is available

§suggested: bool

Whether this server is selected by default

§ugc_controller_services_url: String

URL for the UGC controller

§ugc_cdn_info: CdnInfo

CDN info for user generated content

§use3d_services: bool

Whether to use online model conversion

§version: String

Current version of the game

§version_dir_type: String

Type of version dir (default 0)

§web_api_url: String

API url (?)

Trait Implementations§


impl Debug for Server


fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Server


fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Server


fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§


impl<T> Any for Twhere T: 'static + ?Sized,


fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.


impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.


impl<T, U> TryFrom<U> for Twhere U: Into<T>,


type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,


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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,