pub enum DefaultCelExpression<'a> {
Full(DefaultFullCelExpression<'a>),
ResponseOnly(DefaultResponseOnlyCelExpression<'a>),
Skip,
}
Expand description
A certification CEL expression definition that uses the default CEL function.
This enum has three variants:
-
The Full variant includes both the HTTP request and the corresponding HTTP response in certification. See the DefaultFullCelExpression struct for details on how to configure this variant.
-
The ResponseOnly variant includes the HTTP response in certification, but excludes the corresponding HTTP request from certification. See the DefaultResponseOnlyCelExpression struct for details on how to configure this variant.
-
The Skip variant excludes both the HTTP request and the corresponding HTTP response from certification. This variant does not require any configuration.
Variants§
Full(DefaultFullCelExpression<'a>)
Includes both the HTTP request and the corresponding HTTP response in certification.
ResponseOnly(DefaultResponseOnlyCelExpression<'a>)
Includes an HTTP response in certification, but excludes the corresponding HTTP request from certification.
Skip
Skips certification entirely by excluding both the HTTP request and HTTP response from certification.
Trait Implementations§
source§impl<'a> Clone for DefaultCelExpression<'a>
impl<'a> Clone for DefaultCelExpression<'a>
source§fn clone(&self) -> DefaultCelExpression<'a>
fn clone(&self) -> DefaultCelExpression<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'a> Debug for DefaultCelExpression<'a>
impl<'a> Debug for DefaultCelExpression<'a>
source§impl<'a> PartialEq for DefaultCelExpression<'a>
impl<'a> PartialEq for DefaultCelExpression<'a>
source§fn eq(&self, other: &DefaultCelExpression<'a>) -> bool
fn eq(&self, other: &DefaultCelExpression<'a>) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl ToString for DefaultCelExpression<'_>
impl ToString for DefaultCelExpression<'_>
source§fn to_string(&self) -> String
fn to_string(&self) -> String
Converts a DefaultCelExpression object into it’s String representation.
Alias of create_default_cel_expr.