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 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<'a> Debug for CelExpression<'a>
impl<'a> Debug for CelExpression<'a>
Source§impl Display for CelExpression<'_>
impl Display for CelExpression<'_>
Source§impl<'a> PartialEq for CelExpression<'a>
impl<'a> PartialEq for CelExpression<'a>
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