[][src]Struct rusoto_gamelift::ServerProcess

pub struct ServerProcess {
    pub concurrent_executions: i64,
    pub launch_path: String,
    pub parameters: Option<String>,
}

A set of instructions for launching server processes on each instance in a fleet. Server processes run either a custom game build executable or a Realtime Servers script. Each instruction set identifies the location of the custom game build executable or Realtime launch script, optional launch parameters, and the number of server processes with this configuration to maintain concurrently on the instance. Server process configurations make up a fleet's RuntimeConfiguration .

Fields

concurrent_executions: i64

The number of server processes that use this configuration to run concurrently on an instance.

launch_path: String

The location of the server executable in a custom game build or the name of the Realtime script file that contains the Init() function. Game builds and Realtime scripts are installed on instances at the root:

  • Windows (for custom game builds only): C:\game. Example: "C:\game\MyGame\server.exe"

  • Linux: /local/game. Examples: "/local/game/MyGame/server.exe" or "/local/game/MyRealtimeScript.js"

parameters: Option<String>

An optional list of parameters to pass to the server executable or Realtime script on launch.

Trait Implementations

impl Clone for ServerProcess[src]

impl Debug for ServerProcess[src]

impl Default for ServerProcess[src]

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

impl PartialEq<ServerProcess> for ServerProcess[src]

impl Serialize for ServerProcess[src]

impl StructuralPartialEq for ServerProcess[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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.