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 HttpRequest and the corresponding HttpResponse in certification. See the DefaultFullCelExpression struct for details on how to configure this variant.
-
The ResponseOnly variant includes the HttpResponse in certification, but excludes the corresponding HttpRequest from certification. See the DefaultResponseOnlyCelExpression struct for details on how to configure this variant.
-
The Skip variant excludes both the HttpRequest and the corresponding HttpResponse from certification. This variant does not require any configuration.
Variants§
Full(DefaultFullCelExpression<'a>)
Includes both the HttpRequest and the corresponding HttpResponse in certification.
ResponseOnly(DefaultResponseOnlyCelExpression<'a>)
Includes an HttpResponse in certification, but excludes the corresponding HttpRequest from certification.
Skip
Skips certification entirely by excluding both the HttpRequest and HttpResponse 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 more