pub struct SgHttpPathModifier {
pub kind: SgHttpPathModifierType,
pub value: String,
}Fields§
§kind: SgHttpPathModifierTypeType defines the type of path modifier.
value: StringValue is the value to be used to replace the path during forwarding.
Implementations§
Trait Implementations§
Source§impl Clone for SgHttpPathModifier
impl Clone for SgHttpPathModifier
Source§fn clone(&self) -> SgHttpPathModifier
fn clone(&self) -> SgHttpPathModifier
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 SgHttpPathModifier
impl Debug for SgHttpPathModifier
Source§impl Default for SgHttpPathModifier
impl Default for SgHttpPathModifier
Source§fn default() -> SgHttpPathModifier
fn default() -> SgHttpPathModifier
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SgHttpPathModifier
impl<'de> Deserialize<'de> for SgHttpPathModifier
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
Auto Trait Implementations§
impl Freeze for SgHttpPathModifier
impl RefUnwindSafe for SgHttpPathModifier
impl Send for SgHttpPathModifier
impl Sync for SgHttpPathModifier
impl Unpin for SgHttpPathModifier
impl UnwindSafe for SgHttpPathModifier
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