Struct assembly_xml::universe_config::Server

source ·
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

Fields§

§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§

source§

impl Debug for Server

source§

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

Formats the value using the given formatter. Read more
source§

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

source§

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

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Server

source§

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§

§

impl Freeze for Server

§

impl RefUnwindSafe for Server

§

impl Send for Server

§

impl Sync for Server

§

impl Unpin for Server

§

impl UnwindSafe for Server

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

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.

source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

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