pub struct RouteNodePlan {
pub name: String,
pub strategy: RoutingPolicyV4,
pub children: Vec<RouteRef>,
pub target: Option<RouteRef>,
pub prefer_tags: Vec<BTreeMap<String, String>>,
pub on_exhausted: RoutingExhaustedActionV4,
pub metadata: BTreeMap<String, String>,
pub when: Option<RoutingConditionV4>,
pub then: Option<RouteRef>,
pub default_route: Option<RouteRef>,
}Fields§
§name: String§strategy: RoutingPolicyV4§children: Vec<RouteRef>§target: Option<RouteRef>§on_exhausted: RoutingExhaustedActionV4§metadata: BTreeMap<String, String>§when: Option<RoutingConditionV4>§then: Option<RouteRef>§default_route: Option<RouteRef>Trait Implementations§
Source§impl Clone for RouteNodePlan
impl Clone for RouteNodePlan
Source§fn clone(&self) -> RouteNodePlan
fn clone(&self) -> RouteNodePlan
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 RouteNodePlan
impl Debug for RouteNodePlan
Source§impl PartialEq for RouteNodePlan
impl PartialEq for RouteNodePlan
Source§fn eq(&self, other: &RouteNodePlan) -> bool
fn eq(&self, other: &RouteNodePlan) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RouteNodePlan
impl StructuralPartialEq for RouteNodePlan
Auto Trait Implementations§
impl Freeze for RouteNodePlan
impl RefUnwindSafe for RouteNodePlan
impl Send for RouteNodePlan
impl Sync for RouteNodePlan
impl Unpin for RouteNodePlan
impl UnsafeUnpin for RouteNodePlan
impl UnwindSafe for RouteNodePlan
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.