pub struct RoutingExplainResponse {
pub api_version: u32,
pub service_name: String,
pub runtime_loaded_at_ms: Option<u64>,
pub request_model: Option<String>,
pub session_id: Option<String>,
pub request_context: RoutingExplainRequestContext,
pub selected_route: Option<RoutingExplainCandidate>,
pub candidates: Vec<RoutingExplainCandidate>,
pub affinity_policy: String,
pub affinity: Option<RoutingExplainAffinity>,
pub conditional_routes: Vec<RoutingExplainConditionalRoute>,
}Fields§
§api_version: u32§service_name: String§runtime_loaded_at_ms: Option<u64>§request_model: Option<String>§session_id: Option<String>§request_context: RoutingExplainRequestContext§selected_route: Option<RoutingExplainCandidate>§candidates: Vec<RoutingExplainCandidate>§affinity_policy: String§affinity: Option<RoutingExplainAffinity>§conditional_routes: Vec<RoutingExplainConditionalRoute>Implementations§
Source§impl RoutingExplainResponse
impl RoutingExplainResponse
pub fn selected_route_compact_label(&self) -> String
Trait Implementations§
Source§impl Clone for RoutingExplainResponse
impl Clone for RoutingExplainResponse
Source§fn clone(&self) -> RoutingExplainResponse
fn clone(&self) -> RoutingExplainResponse
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 RoutingExplainResponse
impl Debug for RoutingExplainResponse
Source§impl<'de> Deserialize<'de> for RoutingExplainResponse
impl<'de> Deserialize<'de> for RoutingExplainResponse
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 RoutingExplainResponse
Source§impl PartialEq for RoutingExplainResponse
impl PartialEq for RoutingExplainResponse
Source§impl Serialize for RoutingExplainResponse
impl Serialize for RoutingExplainResponse
impl StructuralPartialEq for RoutingExplainResponse
Auto Trait Implementations§
impl Freeze for RoutingExplainResponse
impl RefUnwindSafe for RoutingExplainResponse
impl Send for RoutingExplainResponse
impl Sync for RoutingExplainResponse
impl Unpin for RoutingExplainResponse
impl UnsafeUnpin for RoutingExplainResponse
impl UnwindSafe for RoutingExplainResponse
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.