pub struct PathTranslation(/* private fields */);Expand description
Path Translation specifies how to combine the backend address with the request path in order to produce the appropriate forwarding URL for the request.
Path Translation is applicable only to HTTP-based backends. Backends which
do not accept requests over HTTP/HTTPS should leave path_translation
unspecified.
Implementations§
Trait Implementations§
Source§impl Clone for PathTranslation
impl Clone for PathTranslation
Source§fn clone(&self) -> PathTranslation
fn clone(&self) -> PathTranslation
Returns a copy 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 PathTranslation
impl Debug for PathTranslation
Source§impl Default for PathTranslation
impl Default for PathTranslation
Source§fn default() -> PathTranslation
fn default() -> PathTranslation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PathTranslation
impl<'de> Deserialize<'de> for PathTranslation
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 From<String> for PathTranslation
impl From<String> for PathTranslation
Source§impl PartialEq for PathTranslation
impl PartialEq for PathTranslation
Source§impl Serialize for PathTranslation
impl Serialize for PathTranslation
impl StructuralPartialEq for PathTranslation
Auto Trait Implementations§
impl Freeze for PathTranslation
impl RefUnwindSafe for PathTranslation
impl Send for PathTranslation
impl Sync for PathTranslation
impl Unpin for PathTranslation
impl UnwindSafe for PathTranslation
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