pub struct L7Rule {
pub routes: Vec<HttpRoute>,
pub default_backend: String,
}Expand description
A set of L7 routing rules.
Fields§
§routes: Vec<HttpRoute>Ordered routes (first match wins).
default_backend: StringDefault backend group (if no route matches).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for L7Rule
impl RefUnwindSafe for L7Rule
impl Send for L7Rule
impl Sync for L7Rule
impl Unpin for L7Rule
impl UnwindSafe for L7Rule
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)