Enum ic_http_certification::cel::CelExpression
source · pub enum CelExpression<'a> {
Default(DefaultCelExpression<'a>),
}
Expand description
A certification CEL expression defintion. Contains an enum variant for each CEL function supported for certification. Currently only one variant is supported: CelExpression::Default.
Variants§
Default(DefaultCelExpression<'a>)
A certification CEL expression definition that uses the default_certification
function.
This is currently the only supported function.
The enum’s inner value is an Option to allow for opting in, or out of certification. Providing None will opt out of certification, while providing Some will opt in to certification. See DefaultCelExpression for more details on its available parameters.
Trait Implementations§
source§impl<'a> Clone for CelExpression<'a>
impl<'a> Clone for CelExpression<'a>
source§fn clone(&self) -> CelExpression<'a>
fn clone(&self) -> CelExpression<'a>
Returns a copy 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<'a> Debug for CelExpression<'a>
impl<'a> Debug for CelExpression<'a>
source§impl<'a> PartialEq for CelExpression<'a>
impl<'a> PartialEq for CelExpression<'a>
source§fn eq(&self, other: &CelExpression<'a>) -> bool
fn eq(&self, other: &CelExpression<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for CelExpression<'_>
impl ToString for CelExpression<'_>
source§fn to_string(&self) -> String
fn to_string(&self) -> String
Converts a CelExpression object into it’s String representation. Alias of create_cel_expr.
impl<'a> Eq for CelExpression<'a>
impl<'a> StructuralPartialEq for CelExpression<'a>
Auto Trait Implementations§
impl<'a> Freeze for CelExpression<'a>
impl<'a> RefUnwindSafe for CelExpression<'a>
impl<'a> Send for CelExpression<'a>
impl<'a> Sync for CelExpression<'a>
impl<'a> Unpin for CelExpression<'a>
impl<'a> UnwindSafe for CelExpression<'a>
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