pub struct RoutingExplainCandidate {
pub provider_id: String,
pub provider_alias: Option<String>,
pub endpoint_id: String,
pub provider_endpoint_key: String,
pub route_path: Vec<String>,
pub preference_group: u32,
pub upstream_base_url: String,
pub capacity: ProviderCapacity,
pub availability: RoutingExplainAvailability,
pub selected: bool,
pub skip_reasons: Vec<RoutingExplainSkipReason>,
}Fields§
§provider_id: String§provider_alias: Option<String>§endpoint_id: String§provider_endpoint_key: String§route_path: Vec<String>§preference_group: u32§upstream_base_url: String§capacity: ProviderCapacity§availability: RoutingExplainAvailability§selected: bool§skip_reasons: Vec<RoutingExplainSkipReason>Implementations§
Source§impl RoutingExplainCandidate
impl RoutingExplainCandidate
pub fn selected_route_label(&self) -> String
pub fn compact_label(&self) -> String
Trait Implementations§
Source§impl Clone for RoutingExplainCandidate
impl Clone for RoutingExplainCandidate
Source§fn clone(&self) -> RoutingExplainCandidate
fn clone(&self) -> RoutingExplainCandidate
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 moreSource§impl Debug for RoutingExplainCandidate
impl Debug for RoutingExplainCandidate
Source§impl<'de> Deserialize<'de> for RoutingExplainCandidate
impl<'de> Deserialize<'de> for RoutingExplainCandidate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RoutingExplainCandidate
Source§impl PartialEq for RoutingExplainCandidate
impl PartialEq for RoutingExplainCandidate
Source§impl Serialize for RoutingExplainCandidate
impl Serialize for RoutingExplainCandidate
impl StructuralPartialEq for RoutingExplainCandidate
Auto Trait Implementations§
impl Freeze for RoutingExplainCandidate
impl RefUnwindSafe for RoutingExplainCandidate
impl Send for RoutingExplainCandidate
impl Sync for RoutingExplainCandidate
impl Unpin for RoutingExplainCandidate
impl UnsafeUnpin for RoutingExplainCandidate
impl UnwindSafe for RoutingExplainCandidate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.