pub struct RouteDecision {
pub upstream_id: Option<Uuid>,
pub upstream: Upstream,
pub dialect: Arc<dyn UpstreamDialect>,
}Expand description
Router output selecting both an upstream and its dialect boundary object.
Fields§
§upstream_id: Option<Uuid>Stable upstream identifier selected by the router, when provided by the plugin.
upstream: UpstreamUpstream selected for the request.
dialect: Arc<dyn UpstreamDialect>Dialect plugin that shapes the request for the selected upstream.
Auto Trait Implementations§
impl !RefUnwindSafe for RouteDecision
impl !UnwindSafe for RouteDecision
impl Freeze for RouteDecision
impl Send for RouteDecision
impl Sync for RouteDecision
impl Unpin for RouteDecision
impl UnsafeUnpin for RouteDecision
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