pub struct FormationCfgCtx {
    pub flights: Vec<String>,
    pub affinities: Vec<String>,
    pub connections: Vec<String>,
    pub providers_allowed: HashSet<ProviderModel>,
    pub providers_denied: HashSet<ProviderModel>,
    pub regions_allowed: HashSet<RegionModel>,
    pub regions_denied: HashSet<RegionModel>,
    pub public_endpoints: Vec<Endpoint>,
    pub formation_endpoints: Vec<Endpoint>,
    pub flight_endpoints: Vec<Endpoint>,
}

Fields

flights: Vec<String>

String is a flight name because that’s the only thing shared by both local and remote

affinities: Vec<String>

String is a flight name because that’s the only thing shared by both local and remote

connections: Vec<String>

String is a flight name because that’s the only thing shared by both local and remote

providers_allowed: HashSet<ProviderModel>

Use actual API model since that is ultimately what we want

providers_denied: HashSet<ProviderModel>

Use actual API model since that is ultimately what we want

regions_allowed: HashSet<RegionModel>

Use actual API model since that is ultimately what we want

regions_denied: HashSet<RegionModel>

Use actual API model since that is ultimately what we want

public_endpoints: Vec<Endpoint>formation_endpoints: Vec<Endpoint>flight_endpoints: Vec<Endpoint>

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more