[][src]Struct rusoto_gamelift::RoutingStrategy

pub struct RoutingStrategy {
    pub fleet_id: Option<String>,
    pub message: Option<String>,
    pub type_: Option<String>,

Routing configuration for a fleet alias.


fleet_id: Option<String>

Unique identifier for a fleet that the alias points to.

message: Option<String>

Message text to be used with a terminal routing strategy.

type_: Option<String>

Type of routing strategy.

Possible routing types include the following:

  • SIMPLE -- The alias resolves to one specific fleet. Use this type when routing to active fleets.

  • TERMINAL -- The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.

Trait Implementations

impl Clone for RoutingStrategy[src]

impl Default for RoutingStrategy[src]

impl PartialEq<RoutingStrategy> for RoutingStrategy[src]

impl Debug for RoutingStrategy[src]

impl StructuralPartialEq for RoutingStrategy[src]

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

impl Serialize for RoutingStrategy[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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.

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self