[][src]Struct google_gameservices1::ScalingConfig

pub struct ScalingConfig {
    pub fleet_autoscaler_spec: Option<String>,
    pub schedules: Option<Vec<Schedule>>,
    pub name: Option<String>,
    pub selectors: Option<Vec<LabelSelector>>,
}

Autoscaling config for an Agones fleet.

This type is not used in any activity, and only used as part of another schema.

Fields

fleet_autoscaler_spec: Option<String>

Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/

schedules: Option<Vec<Schedule>>

The schedules to which this Scaling Config applies.

name: Option<String>

Required. The name of the Scaling Config

selectors: Option<Vec<LabelSelector>>

Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.

Trait Implementations

impl Clone for ScalingConfig[src]

impl Debug for ScalingConfig[src]

impl Default for ScalingConfig[src]

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

impl Part for ScalingConfig[src]

impl Serialize for ScalingConfig[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> 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.

impl<T> Typeable for T where
    T: Any