pub struct TlsRouteRouteRule {
pub action: Option<TlsRouteRouteAction>,
pub matches: Option<Vec<TlsRouteRouteMatch>>,
}Expand description
Specifies how to match traffic and how to route traffic when traffic is matched.
This type is not used in any activity, and only used as part of another schema.
Fields§
§action: Option<TlsRouteRouteAction>Required. The detailed rule defining how to route matched traffic.
matches: Option<Vec<TlsRouteRouteMatch>>Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are “OR“ed for evaluation. Atleast one RouteMatch must be supplied.
Trait Implementations§
Source§impl Clone for TlsRouteRouteRule
impl Clone for TlsRouteRouteRule
Source§fn clone(&self) -> TlsRouteRouteRule
fn clone(&self) -> TlsRouteRouteRule
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 TlsRouteRouteRule
impl Debug for TlsRouteRouteRule
Source§impl Default for TlsRouteRouteRule
impl Default for TlsRouteRouteRule
Source§fn default() -> TlsRouteRouteRule
fn default() -> TlsRouteRouteRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TlsRouteRouteRule
impl<'de> Deserialize<'de> for TlsRouteRouteRule
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 Serialize for TlsRouteRouteRule
impl Serialize for TlsRouteRouteRule
impl Part for TlsRouteRouteRule
Auto Trait Implementations§
impl Freeze for TlsRouteRouteRule
impl RefUnwindSafe for TlsRouteRouteRule
impl Send for TlsRouteRouteRule
impl Sync for TlsRouteRouteRule
impl Unpin for TlsRouteRouteRule
impl UnwindSafe for TlsRouteRouteRule
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