Struct google_api_proto::google::cloud::networkservices::v1beta1::ExtensionChain
source · pub struct ExtensionChain {
pub name: String,
pub match_condition: Option<MatchCondition>,
pub extensions: Vec<Extension>,
}
Expand description
A single extension chain wrapper that contains the match conditions and extensions to execute.
Fields§
§name: String
Required. The name for this extension chain. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.
match_condition: Option<MatchCondition>
Required. Conditions under which this chain is invoked for a request.
extensions: Vec<Extension>
Required. A set of extensions to execute for the matching request.
At least one extension is required.
Up to 3 extensions can be defined for each extension chain
for LbTrafficExtension
resource.
LbRouteExtension
chains are limited to 1 extension per extension chain.
Trait Implementations§
source§impl Clone for ExtensionChain
impl Clone for ExtensionChain
source§fn clone(&self) -> ExtensionChain
fn clone(&self) -> ExtensionChain
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExtensionChain
impl Debug for ExtensionChain
source§impl Default for ExtensionChain
impl Default for ExtensionChain
source§impl Message for ExtensionChain
impl Message for ExtensionChain
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ExtensionChain
impl PartialEq for ExtensionChain
source§fn eq(&self, other: &ExtensionChain) -> bool
fn eq(&self, other: &ExtensionChain) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExtensionChain
Auto Trait Implementations§
impl Freeze for ExtensionChain
impl RefUnwindSafe for ExtensionChain
impl Send for ExtensionChain
impl Sync for ExtensionChain
impl Unpin for ExtensionChain
impl UnwindSafe for ExtensionChain
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request