pub struct ProxyRoute {
pub path: String,
pub upstream: String,
pub strip_prefix: bool,
pub rewrite_target: Option<String>,
pub websocket: bool,
}Fields§
§path: String§upstream: String§strip_prefix: bool§rewrite_target: Option<String>§websocket: boolTrait Implementations§
Source§impl Clone for ProxyRoute
impl Clone for ProxyRoute
Source§fn clone(&self) -> ProxyRoute
fn clone(&self) -> ProxyRoute
Returns a duplicate of the value. Read more
1.0.0 · 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 ProxyRoute
impl Debug for ProxyRoute
Source§impl<'de> Deserialize<'de> for ProxyRoute
impl<'de> Deserialize<'de> for ProxyRoute
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProxyRoute
impl PartialEq for ProxyRoute
Source§impl Serialize for ProxyRoute
impl Serialize for ProxyRoute
impl StructuralPartialEq for ProxyRoute
Auto Trait Implementations§
impl Freeze for ProxyRoute
impl RefUnwindSafe for ProxyRoute
impl Send for ProxyRoute
impl Sync for ProxyRoute
impl Unpin for ProxyRoute
impl UnwindSafe for ProxyRoute
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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