pub struct PersistedRoutingUpsertRequest {
pub entry: Option<String>,
pub affinity_policy: Option<RoutingAffinityPolicyV5>,
pub fallback_ttl_ms: Option<u64>,
pub reprobe_preferred_after_ms: Option<u64>,
pub routes: Option<BTreeMap<String, RoutingNodeV4>>,
pub policy: Option<RoutingPolicyV4>,
pub order: Vec<String>,
pub target: Option<String>,
pub prefer_tags: Option<Vec<BTreeMap<String, String>>>,
pub chain: Vec<String>,
pub pools: BTreeMap<String, RoutingPoolV4>,
pub on_exhausted: RoutingExhaustedActionV4,
}Fields§
§entry: Option<String>§affinity_policy: Option<RoutingAffinityPolicyV5>§fallback_ttl_ms: Option<u64>§reprobe_preferred_after_ms: Option<u64>§routes: Option<BTreeMap<String, RoutingNodeV4>>§policy: Option<RoutingPolicyV4>§order: Vec<String>§target: Option<String>§chain: Vec<String>§pools: BTreeMap<String, RoutingPoolV4>§on_exhausted: RoutingExhaustedActionV4Trait Implementations§
Source§impl Clone for PersistedRoutingUpsertRequest
impl Clone for PersistedRoutingUpsertRequest
Source§fn clone(&self) -> PersistedRoutingUpsertRequest
fn clone(&self) -> PersistedRoutingUpsertRequest
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<'de> Deserialize<'de> for PersistedRoutingUpsertRequest
impl<'de> Deserialize<'de> for PersistedRoutingUpsertRequest
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
Auto Trait Implementations§
impl Freeze for PersistedRoutingUpsertRequest
impl RefUnwindSafe for PersistedRoutingUpsertRequest
impl Send for PersistedRoutingUpsertRequest
impl Sync for PersistedRoutingUpsertRequest
impl Unpin for PersistedRoutingUpsertRequest
impl UnsafeUnpin for PersistedRoutingUpsertRequest
impl UnwindSafe for PersistedRoutingUpsertRequest
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