pub struct RoutePlanTemplate {
pub service_name: String,
pub entry: String,
pub affinity_policy: RoutingAffinityPolicyV5,
pub fallback_ttl_ms: Option<u64>,
pub reprobe_preferred_after_ms: Option<u64>,
pub nodes: BTreeMap<String, RouteNodePlan>,
pub expanded_provider_order: Vec<String>,
pub candidates: Vec<RouteCandidate>,
pub compatibility_station_name: Option<String>,
}Fields§
§service_name: String§entry: String§affinity_policy: RoutingAffinityPolicyV5§fallback_ttl_ms: Option<u64>§reprobe_preferred_after_ms: Option<u64>§nodes: BTreeMap<String, RouteNodePlan>§expanded_provider_order: Vec<String>§candidates: Vec<RouteCandidate>§compatibility_station_name: Option<String>Implementations§
Source§impl RoutePlanTemplate
impl RoutePlanTemplate
pub fn route_graph_key(&self) -> String
pub fn contains_provider_endpoint( &self, key: &ProviderEndpointKey, base_url: &str, ) -> bool
pub fn candidate_provider_endpoint_key( &self, candidate: &RouteCandidate, ) -> ProviderEndpointKey
pub fn candidate_continuity_domain_key( &self, candidate: &RouteCandidate, ) -> ContinuityDomainKey
pub fn candidate_identity( &self, candidate: &RouteCandidate, ) -> RuntimeUpstreamIdentity
pub fn candidate_identities(&self) -> Vec<RuntimeUpstreamIdentity>
pub fn continuity_topology(&self) -> RoutePlanContinuityTopology<'_>
pub fn candidate_compatibility_key( &self, candidate: &RouteCandidate, ) -> Option<LegacyUpstreamKey>
Source§impl RoutePlanTemplate
impl RoutePlanTemplate
pub fn candidate_runtime_signals( &self, candidate: &RouteCandidate, inputs: &RouteRuntimeSignalInputs<'_>, ) -> RouteCandidateRuntimeSignals
pub fn candidate_runtime_signal_view( &self, inputs: &RouteRuntimeSignalInputs<'_>, ) -> Vec<RouteCandidateRuntimeSignals>
Trait Implementations§
Source§impl Clone for RoutePlanTemplate
impl Clone for RoutePlanTemplate
Source§fn clone(&self) -> RoutePlanTemplate
fn clone(&self) -> RoutePlanTemplate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RoutePlanTemplate
impl RefUnwindSafe for RoutePlanTemplate
impl Send for RoutePlanTemplate
impl Sync for RoutePlanTemplate
impl Unpin for RoutePlanTemplate
impl UnsafeUnpin for RoutePlanTemplate
impl UnwindSafe for RoutePlanTemplate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more