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<PersistedRoutingUpsertRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PersistedRoutingUpsertRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PersistedRoutingUpsertRequest
impl Serialize for PersistedRoutingUpsertRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more