pub struct PersistedRoutingSpec {Show 14 fields
pub entry: String,
pub affinity_policy: RoutingAffinityPolicyV5,
pub fallback_ttl_ms: Option<u64>,
pub reprobe_preferred_after_ms: Option<u64>,
pub routes: BTreeMap<String, RoutingNodeV4>,
pub policy: RoutingPolicyV4,
pub order: Vec<String>,
pub target: Option<String>,
pub prefer_tags: Vec<BTreeMap<String, String>>,
pub on_exhausted: RoutingExhaustedActionV4,
pub entry_strategy: RoutingPolicyV4,
pub expanded_order: Vec<String>,
pub entry_target: Option<String>,
pub providers: Vec<PersistedRoutingProviderRef>,
}Fields§
§entry: String§affinity_policy: RoutingAffinityPolicyV5§fallback_ttl_ms: Option<u64>§reprobe_preferred_after_ms: Option<u64>§routes: BTreeMap<String, RoutingNodeV4>§policy: RoutingPolicyV4§order: Vec<String>§target: Option<String>§on_exhausted: RoutingExhaustedActionV4§entry_strategy: RoutingPolicyV4§expanded_order: Vec<String>§entry_target: Option<String>§providers: Vec<PersistedRoutingProviderRef>Trait Implementations§
Source§impl Clone for PersistedRoutingSpec
impl Clone for PersistedRoutingSpec
Source§fn clone(&self) -> PersistedRoutingSpec
fn clone(&self) -> PersistedRoutingSpec
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 PersistedRoutingSpec
impl Debug for PersistedRoutingSpec
Source§impl<'de> Deserialize<'de> for PersistedRoutingSpec
impl<'de> Deserialize<'de> for PersistedRoutingSpec
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
Source§impl PartialEq for PersistedRoutingSpec
impl PartialEq for PersistedRoutingSpec
Source§fn eq(&self, other: &PersistedRoutingSpec) -> bool
fn eq(&self, other: &PersistedRoutingSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PersistedRoutingSpec
impl Serialize for PersistedRoutingSpec
impl Eq for PersistedRoutingSpec
impl StructuralPartialEq for PersistedRoutingSpec
Auto Trait Implementations§
impl Freeze for PersistedRoutingSpec
impl RefUnwindSafe for PersistedRoutingSpec
impl Send for PersistedRoutingSpec
impl Sync for PersistedRoutingSpec
impl Unpin for PersistedRoutingSpec
impl UnsafeUnpin for PersistedRoutingSpec
impl UnwindSafe for PersistedRoutingSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.