Struct gateway_api::experimental::tcproutes::TCPRouteRules
source · pub struct TCPRouteRules {
pub backend_refs: Option<Vec<TCPRouteRulesBackendRefs>>,
}
Expand description
TCPRouteRule is the configuration for a given rule.
Fields
backend_refs: Option<Vec<TCPRouteRulesBackendRefs>>
BackendRefs defines the backend(s) where matching requests should be sent. If unspecified or invalid (refers to a non-existent resource or a Service with no endpoints), the underlying implementation MUST actively reject connection attempts to this backend. Connection rejections must respect weight; if an invalid backend is requested to have 80% of connections, then 80% of connections must be rejected instead. Support: Core for Kubernetes Service Support: Implementation-specific for any other resource Support for weight: Extended
Trait Implementations
sourceimpl Clone for TCPRouteRules
impl Clone for TCPRouteRules
sourcefn clone(&self) -> TCPRouteRules
fn clone(&self) -> TCPRouteRules
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 moresourceimpl Debug for TCPRouteRules
impl Debug for TCPRouteRules
sourceimpl<'de> Deserialize<'de> for TCPRouteRules
impl<'de> Deserialize<'de> for TCPRouteRules
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 TCPRouteRules
impl JsonSchema for TCPRouteRules
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 moresourceimpl Serialize for TCPRouteRules
impl Serialize for TCPRouteRules
Auto Trait Implementations
impl RefUnwindSafe for TCPRouteRules
impl Send for TCPRouteRules
impl Sync for TCPRouteRules
impl Unpin for TCPRouteRules
impl UnwindSafe for TCPRouteRules
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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