pub struct ProtectedRouteScope {
pub upstreams: Vec<String>,
pub services: Vec<String>,
pub expose_code_mode: bool,
}Fields§
§upstreams: Vec<String>§services: Vec<String>§expose_code_mode: boolTrait Implementations§
Source§impl Clone for ProtectedRouteScope
impl Clone for ProtectedRouteScope
Source§fn clone(&self) -> ProtectedRouteScope
fn clone(&self) -> ProtectedRouteScope
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 ProtectedRouteScope
impl Debug for ProtectedRouteScope
Source§impl PartialEq for ProtectedRouteScope
impl PartialEq for ProtectedRouteScope
Source§fn eq(&self, other: &ProtectedRouteScope) -> bool
fn eq(&self, other: &ProtectedRouteScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProtectedRouteScope
impl StructuralPartialEq for ProtectedRouteScope
Auto Trait Implementations§
impl Freeze for ProtectedRouteScope
impl RefUnwindSafe for ProtectedRouteScope
impl Send for ProtectedRouteScope
impl Sync for ProtectedRouteScope
impl Unpin for ProtectedRouteScope
impl UnsafeUnpin for ProtectedRouteScope
impl UnwindSafe for ProtectedRouteScope
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.