Struct k8s_gateway_api::HttpUrlRewriteFilter
source · [−]pub struct HttpUrlRewriteFilter {
pub hostname: Option<PreciseHostname>,
pub path: Option<HttpPathModifier>,
}
Expand description
HTTPURLRewriteFilter defines a filter that modifies a request during forwarding. At most one of these filters may be used on a Route rule. This may not be used on the same Route rule as a HTTPRequestRedirect filter.
gateway:experimental Support: Extended
Fields
hostname: Option<PreciseHostname>
Hostname is the value to be used to replace the Host header value during forwarding.
Support: Extended
path: Option<HttpPathModifier>
Path defines a path rewrite.
Support: Extended
Trait Implementations
sourceimpl Clone for HttpUrlRewriteFilter
impl Clone for HttpUrlRewriteFilter
sourcefn clone(&self) -> HttpUrlRewriteFilter
fn clone(&self) -> HttpUrlRewriteFilter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HttpUrlRewriteFilter
impl Debug for HttpUrlRewriteFilter
sourceimpl<'de> Deserialize<'de> for HttpUrlRewriteFilter
impl<'de> Deserialize<'de> for HttpUrlRewriteFilter
sourcefn 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
sourceimpl JsonSchema for HttpUrlRewriteFilter
impl JsonSchema for HttpUrlRewriteFilter
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref
keyword. Read more
sourceimpl PartialEq<HttpUrlRewriteFilter> for HttpUrlRewriteFilter
impl PartialEq<HttpUrlRewriteFilter> for HttpUrlRewriteFilter
sourcefn eq(&self, other: &HttpUrlRewriteFilter) -> bool
fn eq(&self, other: &HttpUrlRewriteFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HttpUrlRewriteFilter) -> bool
fn ne(&self, other: &HttpUrlRewriteFilter) -> bool
This method tests for !=
.
sourceimpl Serialize for HttpUrlRewriteFilter
impl Serialize for HttpUrlRewriteFilter
impl StructuralPartialEq for HttpUrlRewriteFilter
Auto Trait Implementations
impl RefUnwindSafe for HttpUrlRewriteFilter
impl Send for HttpUrlRewriteFilter
impl Sync for HttpUrlRewriteFilter
impl Unpin for HttpUrlRewriteFilter
impl UnwindSafe for HttpUrlRewriteFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more