pub struct Route {
pub id: String,
pub target_base_url: String,
pub path_pattern: String,
pub filters: Option<Vec<Arc<dyn Filter>>>,
}
Expand description
A route that the proxy can forward requests to.
Fields§
§id: String
The ID of the route (for logging and reference)
target_base_url: String
The base URL of the target
path_pattern: String
The path pattern that this route matches
filters: Option<Vec<Arc<dyn Filter>>>
The filters that should be applied to this route
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Route
impl !RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl !UnwindSafe for Route
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